Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
KReversi
Commits
0e95246b
Commit
0e95246b
authored
Jan 09, 2015
by
Laurent Montel
Browse files
Minor optimization
parent
8a6856d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
startgamedialog.cpp
View file @
0e95246b
...
...
@@ -69,7 +69,7 @@ StartGameDialog::StartGameDialog(QWidget *parent, KgThemeProvider *provider) :
QList
<
const
KgDifficultyLevel
*
>
diffList
=
Kg
::
difficulty
()
->
levels
();
const
QIcon
icon
=
QIcon
::
fromTheme
(
"games-difficult"
);
for
(
int
i
=
0
;
i
<
diffList
.
size
();
i
++
)
{
for
(
int
i
=
0
;
i
<
diffList
.
size
();
++
i
)
{
ui
->
blackSkill
->
addItem
(
icon
,
diffList
.
at
(
i
)
->
title
());
ui
->
whiteSkill
->
addItem
(
icon
,
diffList
.
at
(
i
)
->
title
());
if
(
diffList
.
at
(
i
)
->
isDefault
())
{
...
...
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