summaryrefslogtreecommitdiff
path: root/src/gui/register.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/register.cpp')
-rw-r--r--src/gui/register.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/gui/register.cpp b/src/gui/register.cpp
index 41d2db6c..b99568a8 100644
--- a/src/gui/register.cpp
+++ b/src/gui/register.cpp
@@ -56,9 +56,7 @@ RegisterDialog::RegisterDialog(LoginData *loginData):
mConfirmField = new PasswordField();
mServerField = new TextField();
mMaleButton = new RadioButton("Male", "sex", true);
- mMaleButton->setEnabled(false);
mFemaleButton = new RadioButton("Female", "sex", false);
- mFemaleButton->setEnabled(false);
mRegisterButton = new Button("Register", "register", this);
mCancelButton = new Button("Cancel", "cancel", this);
@@ -92,17 +90,6 @@ RegisterDialog::RegisterDialog(LoginData *loginData):
mCancelButton->setPosition(10 + mRegisterButton->getWidth(),
mRegisterButton->getY());
-
- /*mUserField->setEventId("register");
- mPasswordField->setEventId("register");
- mConfirmField->setEventId("register");
- mServerField->setEventId("register");*/
-
- /*mUserField->addActionListener(this);
- mPasswordField->addActionListener(this);
- mConfirmField->addActionListener(this);
- mServerField->addActionListener(this);*/
-
add(userLabel);
add(passwordLabel);
add(serverLabel);