From 066488a6f4d086b57f4fe32e8799c207552cccb7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Oct 2012 18:50:27 +0300 Subject: Add theming to labels. New theme file: label.xml Parameters: padding --- src/gui/unregisterdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/unregisterdialog.cpp') diff --git a/src/gui/unregisterdialog.cpp b/src/gui/unregisterdialog.cpp index edceb54e8..300912ca4 100644 --- a/src/gui/unregisterdialog.cpp +++ b/src/gui/unregisterdialog.cpp @@ -53,9 +53,9 @@ UnRegisterDialog::UnRegisterDialog(LoginData *const data): mCancelButton(new Button(_("Cancel"), "cancel", this)), mWrongDataNoticeListener(new WrongDataNoticeListener) { - gcn::Label *const userLabel = new Label(strprintf(_("Name: %s"), + Label *const userLabel = new Label(strprintf(_("Name: %s"), mLoginData->username.c_str())); - gcn::Label *const passwordLabel = new Label(_("Password:")); + Label *const passwordLabel = new Label(_("Password:")); const int width = 210; const int height = 80; -- cgit v1.2.3-60-g2f50