summaryrefslogtreecommitdiff
path: root/src/gui/windows/worldselectdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-03-09 02:22:21 +0300
committerAndrei Karas <akaras@inbox.ru>2018-03-09 02:22:21 +0300
commitaa7119314e1a33d908b98906d30be94eb116d02d (patch)
treea99092b16529937c20c6ec3a7d00d7f69eabfe35 /src/gui/windows/worldselectdialog.cpp
parent0424b1383e3c07192b4493d5210b4384b5a69a75 (diff)
downloadplus-aa7119314e1a33d908b98906d30be94eb116d02d.tar.gz
plus-aa7119314e1a33d908b98906d30be94eb116d02d.tar.bz2
plus-aa7119314e1a33d908b98906d30be94eb116d02d.tar.xz
plus-aa7119314e1a33d908b98906d30be94eb116d02d.zip
Add skin parameter to all button constructors.
Diffstat (limited to 'src/gui/windows/worldselectdialog.cpp')
-rw-r--r--src/gui/windows/worldselectdialog.cpp6
1 files changed, 4 insertions, 2 deletions
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),