diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-20 02:23:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:43 +0300 |
commit | 0153e8fa499b7bbdd712339bfb3921ead15a37a2 (patch) | |
tree | 0e12bc130aa40d3bc41f86e16754f060b450977e /src/gui/changepassworddialog.cpp | |
parent | 4c7a11b639ec94c8a32a9a52e99652c464745037 (diff) | |
download | manaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.gz manaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.bz2 manaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.xz manaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.zip |
Add palette inheritance to label class.
Diffstat (limited to 'src/gui/changepassworddialog.cpp')
-rw-r--r-- | src/gui/changepassworddialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/changepassworddialog.cpp b/src/gui/changepassworddialog.cpp index a7cb8a834..7da2bdf8d 100644 --- a/src/gui/changepassworddialog.cpp +++ b/src/gui/changepassworddialog.cpp @@ -56,13 +56,13 @@ ChangePasswordDialog::ChangePasswordDialog(LoginData *const data): mWrongDataNoticeListener(new WrongDataNoticeListener), mLoginData(data) { - Label *const accountLabel = new Label( + Label *const accountLabel = new Label(this, strprintf(_("Account: %s"), mLoginData->username.c_str())); place(0, 0, accountLabel, 3); - place(0, 1, new Label(_("Password:")), 3); + place(0, 1, new Label(this, _("Password:")), 3); place(0, 2, mOldPassField, 3).setPadding(1); - place(0, 3, new Label(_("Type new password twice:")), 3); + place(0, 3, new Label(this, _("Type new password twice:")), 3); place(0, 4, mFirstPassField, 3).setPadding(1); place(0, 5, mSecondPassField, 3).setPadding(1); place(1, 6, mCancelButton); |