summaryrefslogtreecommitdiff
path: root/src/gui/windows/registerdialog.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/registerdialog.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/registerdialog.cpp')
-rw-r--r--src/gui/windows/registerdialog.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/registerdialog.cpp b/src/gui/windows/registerdialog.cpp
index 827e7c1ac..695fd58e2 100644
--- a/src/gui/windows/registerdialog.cpp
+++ b/src/gui/windows/registerdialog.cpp
@@ -60,9 +60,11 @@ RegisterDialog::RegisterDialog(LoginData &data) :
mConfirmField(new PasswordField(this, std::string())),
mEmailField(nullptr),
// TRANSLATORS: register dialog. button.
- mRegisterButton(new Button(this, _("Register"), "register", this)),
+ mRegisterButton(new Button(this, _("Register"), "register",
+ BUTTON_SKIN, this)),
// TRANSLATORS: register dialog. button.
- mCancelButton(new Button(this, _("Cancel"), "cancel", this)),
+ mCancelButton(new Button(this, _("Cancel"), "cancel",
+ BUTTON_SKIN, this)),
mMaleButton(nullptr),
mFemaleButton(nullptr),
mWrongDataNoticeListener(new WrongDataNoticeListener)