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
Daniel Fichtner
KPat
Commits
cc4e96f5
Commit
cc4e96f5
authored
Oct 09, 2021
by
Frederik Schwarzer
Committed by
Daniel Fichtner
Oct 09, 2021
Browse files
Apply 2 suggestion(s) to 1 file(s)
parent
409c2989
Pipeline
#87137
passed with stage
in 53 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/dealer.cpp
View file @
cc4e96f5
...
...
@@ -1953,10 +1953,10 @@ bool DealerScene::allowedToStartNewGame()
{
// Check if the user is already running a game, and if she is,
// then ask if she wants to abort it.
KMessageBox
::
Options
foo
=
0
;
KMessageBox
::
Options
options
=
0
;
if
(
DealerScene
::
m_playNotification
)
{
foo
|=
KMessageBox
::
Notify
;
options
|=
KMessageBox
::
Notify
;
}
return
!
m_dealStarted
||
m_dealWasJustSaved
...
...
@@ -1969,7 +1969,7 @@ bool DealerScene::allowedToStartNewGame()
KGuiItem
(
i18n
(
"Abandon Current Game"
)),
KStandardGuiItem
::
cancel
(),
QStringLiteral
(
"careaboutstats"
),
foo
options
)
==
KMessageBox
::
Continue
;
}
...
...
Write
Preview
Supports
Markdown
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