From 0153e8fa499b7bbdd712339bfb3921ead15a37a2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Oct 2012 02:23:16 +0300 Subject: Add palette inheritance to label class. --- src/gui/changeemaildialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/changeemaildialog.cpp') 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; -- cgit v1.2.3-60-g2f50