summaryrefslogtreecommitdiff
path: root/src/gui/windows/changepassworddialog.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/changepassworddialog.cpp
parent0424b1383e3c07192b4493d5210b4384b5a69a75 (diff)
downloadmanaverse-aa7119314e1a33d908b98906d30be94eb116d02d.tar.gz
manaverse-aa7119314e1a33d908b98906d30be94eb116d02d.tar.bz2
manaverse-aa7119314e1a33d908b98906d30be94eb116d02d.tar.xz
manaverse-aa7119314e1a33d908b98906d30be94eb116d02d.zip
Add skin parameter to all button constructors.
Diffstat (limited to 'src/gui/windows/changepassworddialog.cpp')
-rw-r--r--src/gui/windows/changepassworddialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/changepassworddialog.cpp b/src/gui/windows/changepassworddialog.cpp
index 9fac2a602..d302244ba 100644
--- a/src/gui/windows/changepassworddialog.cpp
+++ b/src/gui/windows/changepassworddialog.cpp
@@ -53,9 +53,9 @@ ChangePasswordDialog::ChangePasswordDialog(LoginData &data) :
mSecondPassField(new PasswordField(this, std::string())),
// TRANSLATORS: change password dialog button
mChangePassButton(new Button(this, _("Change Password"),
- "change_password", this)),
+ "change_password", BUTTON_SKIN, this)),
// TRANSLATORS: change password dialog button
- mCancelButton(new Button(this, _("Cancel"), "cancel", this)),
+ mCancelButton(new Button(this, _("Cancel"), "cancel", BUTTON_SKIN, this)),
mWrongDataNoticeListener(new WrongDataNoticeListener),
mLoginData(&data)
{