Commit cc4e96f5 authored by Frederik Schwarzer's avatar Frederik Schwarzer Committed by Daniel Fichtner
Browse files

Apply 2 suggestion(s) to 1 file(s)

parent 409c2989
Pipeline #87137 passed with stage
in 53 seconds
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment