Commit 800f644e authored by oldherl oh's avatar oldherl oh
Browse files

use KGameClock::FlexibleHourMinSec to show hour when needed

parent 4c5c5f55
Pipeline #207552 failed with stage
in 2 minutes and 23 seconds
......@@ -31,7 +31,7 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
XmlGui
)
find_package(KF5KDEGames 4.9.0 REQUIRED)
find_package(KF5KDEGames 7.3.1 REQUIRED)
find_package(Qt${QT_MAJOR_VERSION}Test ${QT_MIN_VERSION} QUIET)
set_package_properties(Qt${QT_MAJOR_VERSION}Test PROPERTIES
......
......@@ -107,7 +107,7 @@ MainWindow::MainWindow(QWidget *parent)
setAutoSaveSettings();
m_gameClock = new KGameClock(this, KGameClock::MinSecOnly);
m_gameClock = new KGameClock(this, KGameClock::FlexibleHourMinSec);
connect(m_gameClock, &KGameClock::timeChanged, this, &MainWindow::updateStatusBar);
m_soundStart = new KgSound(QStandardPaths::locate(QStandardPaths::AppDataLocation, QStringLiteral("sounds/start.wav")), this);
......
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