summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/logger/include/Logger.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-08-16 12:04:15 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-08-16 12:37:02 +0200
commit94eb1df58b4ad4e25941782832d20e1c8d57f0c5 (patch)
treed569e73ee64f887c78200ce0e7d83a4957fe129a /rbutil/rbutilqt/logger/include/Logger.h
parentcd352d9052b42781887996da5b0691dd581ce48c (diff)
downloadrockbox-94eb1df58b.tar.gz
rockbox-94eb1df58b.tar.bz2
rockbox-94eb1df58b.zip
rbutil: Logger Qt6 fixes.
Fix various issues with building CuteLogger with Qt6. Change-Id: Iceac8f8a19f6703868c5a41b725d3cd69c724239
Diffstat (limited to 'rbutil/rbutilqt/logger/include/Logger.h')
-rw-r--r--rbutil/rbutilqt/logger/include/Logger.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/logger/include/Logger.h b/rbutil/rbutilqt/logger/include/Logger.h
index 509bc5f435..941e556eb9 100644
--- a/rbutil/rbutilqt/logger/include/Logger.h
+++ b/rbutil/rbutilqt/logger/include/Logger.h
@@ -18,6 +18,7 @@
#include <QString>
#include <QDebug>
#include <QDateTime>
+#include <QElapsedTimer>
// Local
#include "CuteLogger_global.h"
@@ -224,7 +225,7 @@ class CUTELOGGERSHARED_EXPORT LoggerTimingHelper
private:
Logger* m_logger;
- QTime m_time;
+ QElapsedTimer m_time;
Logger::LogLevel m_logLevel;
Logger::TimingMode m_timingMode;
const char* m_file;