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
0d5e1696
Commit
0d5e1696
authored
Jul 16, 2015
by
ctrlaltca
Browse files
Merge pull request #1270 from ctrlaltca/fix_1269
Fix change flag in edit account; Fix #1269
parents
61b2b46b
c9e15853
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/dlg_edit_user.h
View file @
0d5e1696
...
...
@@ -15,7 +15,7 @@ public:
DlgEditUser
(
QWidget
*
parent
=
0
,
QString
email
=
QString
(),
int
gender
=
-
1
,
QString
country
=
QString
(),
QString
realName
=
QString
());
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