diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-03-09 02:22:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-03-09 02:22:21 +0300 |
commit | aa7119314e1a33d908b98906d30be94eb116d02d (patch) | |
tree | a99092b16529937c20c6ec3a7d00d7f69eabfe35 /src/gui/windows/charselectdialog.cpp | |
parent | 0424b1383e3c07192b4493d5210b4384b5a69a75 (diff) | |
download | plus-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/charselectdialog.cpp')
-rw-r--r-- | src/gui/windows/charselectdialog.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp index 638e5caa0..5f99a16fc 100644 --- a/src/gui/windows/charselectdialog.cpp +++ b/src/gui/windows/charselectdialog.cpp @@ -70,16 +70,17 @@ CharSelectDialog::CharSelectDialog(LoginData &data) : KeyListener(), mLoginData(&data), // TRANSLATORS: char select dialog. button. - mSwitchLoginButton(new Button(this, _("Switch"), "switch", this)), + mSwitchLoginButton(new Button(this, _("Switch"), "switch", + BUTTON_SKIN, this)), // TRANSLATORS: char select dialog. button. - mChangePasswordButton(new Button(this, _("Password"), - "change_password", this)), + mChangePasswordButton(new Button(this, _("Password"), "change_password", + BUTTON_SKIN, this)), // TRANSLATORS: char select dialog. button. - mPlayButton(new Button(this, _("Play"), "use", this)), + mPlayButton(new Button(this, _("Play"), "use", BUTTON_SKIN, this)), // TRANSLATORS: char select dialog. button. - mInfoButton(new Button(this, _("Info"), "info", this)), + mInfoButton(new Button(this, _("Info"), "info", BUTTON_SKIN, this)), // TRANSLATORS: char select dialog. button. - mDeleteButton(new Button(this, _("Delete"), "delete", this)), + mDeleteButton(new Button(this, _("Delete"), "delete", BUTTON_SKIN, this)), // TRANSLATORS: char select dialog. button. mRenameButton(nullptr), mChangePinButton(nullptr), @@ -113,6 +114,7 @@ CharSelectDialog::CharSelectDialog(LoginData &data) : // TRANSLATORS: character rename button _("Rename"), "rename", + BUTTON_SKIN, this); placer(n, 0, mRenameButton, 1, 1); n ++; @@ -125,6 +127,7 @@ CharSelectDialog::CharSelectDialog(LoginData &data) : // TRANSLATORS: change pincode button _("Change pin"), "changepin", + BUTTON_SKIN, this); placer(n, 0, mChangePinButton, 1, 1); n ++; |