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/registerdialog.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/registerdialog.cpp')
-rw-r--r-- | src/gui/registerdialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/registerdialog.cpp b/src/gui/registerdialog.cpp index d48e2f2c0..54d6dc149 100644 --- a/src/gui/registerdialog.cpp +++ b/src/gui/registerdialog.cpp @@ -80,9 +80,9 @@ RegisterDialog::RegisterDialog(LoginData *const data): const int optionalActions = Net::getLoginHandler()-> supportedOptionalActions(); - Label *const userLabel = new Label(_("Name:")); - Label *const passwordLabel = new Label(_("Password:")); - Label *const confirmLabel = new Label(_("Confirm:")); + Label *const userLabel = new Label(this, _("Name:")); + Label *const passwordLabel = new Label(this, _("Password:")); + Label *const confirmLabel = new Label(this, _("Confirm:")); ContainerPlacer placer; placer = getPlacer(0, 0); @@ -118,7 +118,7 @@ RegisterDialog::RegisterDialog(LoginData *const data): if (optionalActions & Net::LoginHandler::SetEmailOnRegister) { - Label *const emailLabel = new Label(_("Email:")); + Label *const emailLabel = new Label(this, _("Email:")); mEmailField = new TextField(this); placer(0, row, emailLabel); placer(1, row, mEmailField, 3).setPadding(2); |