Commit 14da4efe authored by Zach's avatar Zach
Browse files

Merge pull request #1414 from ZeldaZach/fix_1412

Prevent bad flags
parents 4d2fdaec 8ffe3108
...@@ -19,7 +19,7 @@ public: ...@@ -19,7 +19,7 @@ public:
QString getPassword() const { return passwordEdit->text(); } QString getPassword() const { return passwordEdit->text(); }
QString getEmail() const { return emailEdit->text(); } QString getEmail() const { return emailEdit->text(); }
int getGender() const { return genderEdit->currentIndex() - 1; } int getGender() const { return genderEdit->currentIndex() - 1; }
QString getCountry() const { return genderEdit->currentIndex() == 0 ? "" : countryEdit->currentText(); } QString getCountry() const { return countryEdit->currentIndex() == 0 ? "" : countryEdit->currentText(); }
QString getRealName() const { return realnameEdit->text(); } QString getRealName() const { return realnameEdit->text(); }
private slots: private slots:
void actOk(); void actOk();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment