summaryrefslogtreecommitdiff
path: root/src/gui/changeemaildialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 02:23:16 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commit0153e8fa499b7bbdd712339bfb3921ead15a37a2 (patch)
tree0e12bc130aa40d3bc41f86e16754f060b450977e /src/gui/changeemaildialog.cpp
parent4c7a11b639ec94c8a32a9a52e99652c464745037 (diff)
downloadmanaplus-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.gz
manaplus-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.bz2
manaplus-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.xz
manaplus-0153e8fa499b7bbdd712339bfb3921ead15a37a2.zip
Add palette inheritance to label class.
Diffstat (limited to 'src/gui/changeemaildialog.cpp')
-rw-r--r--src/gui/changeemaildialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/changeemaildialog.cpp b/src/gui/changeemaildialog.cpp
index 7026077e8..bbd2aa6c3 100644
--- a/src/gui/changeemaildialog.cpp
+++ b/src/gui/changeemaildialog.cpp
@@ -54,9 +54,9 @@ ChangeEmailDialog::ChangeEmailDialog(LoginData *const data):
mWrongDataNoticeListener(new WrongDataNoticeListener),
mLoginData(data)
{
- Label *const accountLabel = new Label(strprintf(_("Account: %s"),
+ Label *const accountLabel = new Label(this, strprintf(_("Account: %s"),
mLoginData->username.c_str()));
- Label *const newEmailLabel = new Label(
+ Label *const newEmailLabel = new Label(this,
_("Type new email address twice:"));
const int width = 200;