QmlProfiler: Avoid a deprecation warning

Change-Id: Ie30d30d304faf71dee36c8ae3a37e8974af99bf3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2019-07-26 17:18:57 +02:00
parent a99e5af1da
commit 0a19b8e115

View File

@@ -74,6 +74,7 @@
#include <QApplication> #include <QApplication>
#include <QDockWidget> #include <QDockWidget>
#include <QElapsedTimer>
#include <QFileDialog> #include <QFileDialog>
#include <QHBoxLayout> #include <QHBoxLayout>
#include <QLabel> #include <QLabel>
@@ -120,7 +121,7 @@ public:
// elapsed time display // elapsed time display
QLabel *m_timeLabel = nullptr; QLabel *m_timeLabel = nullptr;
QTimer m_recordingTimer; QTimer m_recordingTimer;
QTime m_recordingElapsedTime; QElapsedTimer m_recordingElapsedTime;
bool m_toolBusy = false; bool m_toolBusy = false;
}; };