summaryrefslogtreecommitdiff
path: root/src/gui/registerdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/registerdialog.cpp')
-rw-r--r--src/gui/registerdialog.cpp8
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);