summaryrefslogtreecommitdiff
blob: 9002776d0d08776f16710eac76d7b9bb81734306 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From fe17299b2757d3c0106fbfff325440de0830048f Mon Sep 17 00:00:00 2001
From: Laurent Montel <montel@kde.org>
Date: Tue, 17 Sep 2019 13:39:44 +0200
Subject: Make it compiles against qt5.14

---
 src/game-state.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/game-state.cpp b/src/game-state.cpp
index c0c35d5..b2c2416 100644
--- a/src/game-state.cpp
+++ b/src/game-state.cpp
@@ -19,7 +19,7 @@
 #include "game-state.h"
 #include "settings.h"
 
-#include <QTime>
+#include <QElapsedTimer>
 #include <KLocalizedString>
 #include <KNotification>
 
@@ -32,7 +32,7 @@ public:
     GameStatePrivate();
     ~GameStatePrivate();
 
-    QTime m_gameTime, m_pauseTime;
+    QElapsedTimer m_gameTime, m_pauseTime;
 
     Mode m_mode;
     State m_state;
-- 
cgit v1.1