Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
Kapman
Commits
74bff080
Commit
74bff080
authored
Jun 04, 2021
by
Antoni Bella Pérez
🚵🏻
Browse files
A fix to my last commit "GUI l10n improves"
parent
065c09a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/kapmanmainwindow.cpp
View file @
74bff080
...
...
@@ -152,7 +152,7 @@ void KapmanMainWindow::handleGameOver()
void
KapmanMainWindow
::
changeLevel
()
{
const
int
newLevel
=
QInputDialog
::
getInt
(
this
,
i18n
(
"Change Level"
,
i18nc
(
"The number of the game level"
,
"Level"
),
m_game
->
getLevel
(),
1
,
1000000
,
1
);
const
int
newLevel
=
QInputDialog
::
getInt
(
this
,
i18n
(
"Change Level"
)
,
i18nc
(
"The number of the game level"
,
"Level"
),
m_game
->
getLevel
(),
1
,
1000000
,
1
);
if
(
newLevel
>
0
)
{
m_game
->
setLevel
(
newLevel
);
}
...
...
Antoni Bella Pérez
🚵🏻
@bellaperez
mentioned in commit
065c09a9
·
Jun 04, 2021
mentioned in commit
065c09a9
mentioned in commit 065c09a921d04a0e9ec099c16eda2e9a1def6fa2
Toggle commit list
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