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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/registerdialog.cpp b/src/gui/registerdialog.cpp
index 54d6dc149..4f865daad 100644
--- a/src/gui/registerdialog.cpp
+++ b/src/gui/registerdialog.cpp
@@ -98,11 +98,11 @@ RegisterDialog::RegisterDialog(LoginData *const data):
if (optionalActions & Net::LoginHandler::SetGenderOnRegister)
{
- mMaleButton = new RadioButton(_("Male"), "sex", true);
- mFemaleButton = new RadioButton(_("Female"), "sex", false);
+ mMaleButton = new RadioButton(this, _("Male"), "sex", true);
+ mFemaleButton = new RadioButton(this, _("Female"), "sex", false);
if (serverVersion >= 5)
{
- mOtherButton = new RadioButton(_("Other"), "sex", false);
+ mOtherButton = new RadioButton(this, _("Other"), "sex", false);
placer(0, row, mMaleButton);
placer(1, row, mFemaleButton);
placer(2, row, mOtherButton);