summaryrefslogtreecommitdiff
path: root/src/gui/registerdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 02:37:02 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commit015b14f8e60d64da2999da9c753af62ec1ffdf72 (patch)
tree5a96c0573d7065fc4a3c87bf727c0645946c1222 /src/gui/registerdialog.cpp
parentb6b4ea19929e7e67d987041aa129366f4fed3a6d (diff)
downloadplus-015b14f8e60d64da2999da9c753af62ec1ffdf72.tar.gz
plus-015b14f8e60d64da2999da9c753af62ec1ffdf72.tar.bz2
plus-015b14f8e60d64da2999da9c753af62ec1ffdf72.tar.xz
plus-015b14f8e60d64da2999da9c753af62ec1ffdf72.zip
Add palette inheritance to radiobutton class.
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);