Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Games
KReversi
Commits
0e95246b
Commit
0e95246b
authored
Jan 09, 2015
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor optimization
parent
8a6856d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
startgamedialog.cpp
startgamedialog.cpp
+1
-1
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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