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
14da4efe
Commit
14da4efe
authored
Aug 23, 2015
by
Zach
Browse files
Merge pull request #1414 from ZeldaZach/fix_1412
Prevent bad flags
parents
4d2fdaec
8ffe3108
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/dlg_register.h
View file @
14da4efe
...
@@ -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
gender
Edit
->
currentIndex
()
==
0
?
""
:
countryEdit
->
currentText
();
}
QString
getCountry
()
const
{
return
country
Edit
->
currentIndex
()
==
0
?
""
:
countryEdit
->
currentText
();
}
QString
getRealName
()
const
{
return
realnameEdit
->
text
();
}
QString
getRealName
()
const
{
return
realnameEdit
->
text
();
}
private
slots
:
private
slots
:
void
actOk
();
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