Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
8ffe3108
Commit
8ffe3108
authored
Aug 23, 2015
by
Zach H
Browse files
prevent bad flags
parent
432c856f
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/dlg_register.h
View file @
8ffe3108
...
...
@@ -19,7 +19,7 @@ public:
QString
getPassword
()
const
{
return
passwordEdit
->
text
();
}
QString
getEmail
()
const
{
return
emailEdit
->
text
();
}
int
getGender
()
const
{
return
genderEdit
->
currentIndex
()
-
1
;
}
QString
getCountry
()
const
{
return
gender
Edit
->
currentIndex
()
==
0
?
""
:
countryEdit
->
currentText
();
}
QString
getCountry
()
const
{
return
country
Edit
->
currentIndex
()
==
0
?
""
:
countryEdit
->
currentText
();
}
QString
getRealName
()
const
{
return
realnameEdit
->
text
();
}
private
slots
:
void
actOk
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment