From aa7119314e1a33d908b98906d30be94eb116d02d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 9 Mar 2018 02:22:21 +0300 Subject: Add skin parameter to all button constructors. --- src/gui/windows/worldselectdialog.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/worldselectdialog.cpp') diff --git a/src/gui/windows/worldselectdialog.cpp b/src/gui/windows/worldselectdialog.cpp index f863c4065..86e6a0e87 100644 --- a/src/gui/windows/worldselectdialog.cpp +++ b/src/gui/windows/worldselectdialog.cpp @@ -50,9 +50,11 @@ WorldSelectDialog::WorldSelectDialog(const Worlds &worlds) : mWorldListModel(new WorldListModel(worlds)), mWorldList(CREATEWIDGETR(ListBox, this, mWorldListModel, "")), // TRANSLATORS: world dialog button - mChangeLoginButton(new Button(this, _("Change Login"), "login", this)), + mChangeLoginButton(new Button(this, _("Change Login"), "login", + BUTTON_SKIN, this)), // TRANSLATORS: world dialog button - mChooseWorld(new Button(this, _("Choose World"), "world", this)) + mChooseWorld(new Button(this, _("Choose World"), "world", + BUTTON_SKIN, this)) { ScrollArea *const worldsScroll = new ScrollArea(this, mWorldList, fromBool(getOptionBool("showbackground", false), Opaque), -- cgit v1.2.3-70-g09d2