mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-24 23:53:54 -07:00
prevent bad flags
This commit is contained in:
parent
432c856f0d
commit
8ffe310855
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue