Commit b6c99ae9 authored by oldherl oh's avatar oldherl oh Committed by Albert Astals Cid
Browse files

use KGameClock::FlexibleHourMinSec to show hour when needed

(cherry picked from commit a4000b61)
parent ad4f570c
Pipeline #207226 passed with stage
in 1 minute and 49 seconds
......@@ -46,7 +46,7 @@ set_package_properties(KF5DocTools PROPERTIES DESCRIPTION
TYPE OPTIONAL
)
find_package(KF5KDEGames 7.3.0 REQUIRED)
find_package(KF5KDEGames 7.3.1 REQUIRED)
add_definitions(
-DQT_DISABLE_DEPRECATED_BEFORE=0x050F00
......
......@@ -95,7 +95,7 @@ KMinesMainWindow::KMinesMainWindow()
QGraphicsView::DontAdjustForAntialiasing );
m_gameClock = new KGameClock(this, KGameClock::MinSecOnly);
m_gameClock = new KGameClock(this, KGameClock::FlexibleHourMinSec);
connect(m_gameClock, &KGameClock::timeChanged, this, &KMinesMainWindow::advanceTime);
mineLabel->setText(i18n("Mines: 0/0"));
......
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