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/logindialog.cpp | |
parent | 0424b1383e3c07192b4493d5210b4384b5a69a75 (diff) | |
download | manaplus-aa7119314e1a33d908b98906d30be94eb116d02d.tar.gz manaplus-aa7119314e1a33d908b98906d30be94eb116d02d.tar.bz2 manaplus-aa7119314e1a33d908b98906d30be94eb116d02d.tar.xz manaplus-aa7119314e1a33d908b98906d30be94eb116d02d.zip |
Add skin parameter to all button constructors.
Diffstat (limited to 'src/gui/windows/logindialog.cpp')
-rw-r--r-- | src/gui/windows/logindialog.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gui/windows/logindialog.cpp b/src/gui/windows/logindialog.cpp index ec895cf7f..53a50d4d5 100644 --- a/src/gui/windows/logindialog.cpp +++ b/src/gui/windows/logindialog.cpp @@ -83,11 +83,14 @@ LoginDialog::LoginDialog(LoginData &data, mUpdateTypeDropDown(new DropDown(this, mUpdateTypeModel, false, Modal_false, nullptr, std::string())), // TRANSLATORS: login dialog button - mServerButton(new Button(this, _("Change Server"), "server", this)), + mServerButton(new Button(this, _("Change Server"), "server", + BUTTON_SKIN, this)), // TRANSLATORS: login dialog button - mLoginButton(new Button(this, _("Login"), "login", this)), + mLoginButton(new Button(this, _("Login"), "login", + BUTTON_SKIN, this)), // TRANSLATORS: login dialog button - mRegisterButton(new Button(this, _("Register"), "register", this)), + mRegisterButton(new Button(this, _("Register"), "register", + BUTTON_SKIN, this)), // TRANSLATORS: login dialog checkbox mCustomUpdateHost(new CheckBox(this, _("Custom update host"), (mLoginData->updateType & UpdateType::Custom) != 0, |