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/logindialog.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/gui/windows/logindialog.cpp') 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, -- cgit v1.2.3-70-g09d2