summaryrefslogtreecommitdiff
path: root/src/gui/changepassworddialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 01:45:57 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commitf5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8 (patch)
tree8ab383dce47ed689137addbac041ef1f9e300faf /src/gui/changepassworddialog.cpp
parent5d02ab43ff6d3e328a3b02479c033609023edec2 (diff)
downloadmanaverse-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.tar.gz
manaverse-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.tar.bz2
manaverse-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.tar.xz
manaverse-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.zip
Add palette inheritance to textfield class.
Diffstat (limited to 'src/gui/changepassworddialog.cpp')
-rw-r--r--src/gui/changepassworddialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/changepassworddialog.cpp b/src/gui/changepassworddialog.cpp
index 33f0ff561..a7cb8a834 100644
--- a/src/gui/changepassworddialog.cpp
+++ b/src/gui/changepassworddialog.cpp
@@ -47,9 +47,9 @@
ChangePasswordDialog::ChangePasswordDialog(LoginData *const data):
Window(_("Change Password"), true, nullptr, "changepassword.xml"),
gcn::ActionListener(),
- mOldPassField(new PasswordField),
- mFirstPassField(new PasswordField),
- mSecondPassField(new PasswordField),
+ mOldPassField(new PasswordField(this)),
+ mFirstPassField(new PasswordField(this)),
+ mSecondPassField(new PasswordField(this)),
mChangePassButton(new Button(this, _("Change Password"),
"change_password", this)),
mCancelButton(new Button(this, _("Cancel"), "cancel", this)),