aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/history
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-06-30 15:09:14 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-06-30 15:09:14 +0000
commit17cadbfb95e9211e8685aed3466d4c22df732e92 (patch)
treef56ac4adf0c10469b5e089458eda98520222d3fa /src/plugins/General/history
parent8ac2665118162e9130f8be4c6b4ce5a430d4f81e (diff)
downloadqmmp-17cadbfb95e9211e8685aed3466d4c22df732e92.tar.gz
qmmp-17cadbfb95e9211e8685aed3466d4c22df732e92.tar.bz2
qmmp-17cadbfb95e9211e8685aed3466d4c22df732e92.zip
replaced deprecated code
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8976 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/history')
-rw-r--r--src/plugins/General/history/history.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/General/history/history.h b/src/plugins/General/history/history.h
index 1b0ff2163..74b46bb43 100644
--- a/src/plugins/General/history/history.h
+++ b/src/plugins/General/history/history.h
@@ -22,7 +22,7 @@
#define HISTORY_H
#include <QObject>
-#include <QTime>
+#include <QElapsedTimer>
#include <QPointer>
#include <qmmp/trackinfo.h>
#include <qmmp/qmmp.h>
@@ -50,7 +50,7 @@ private:
SoundCore *m_core;
TrackInfo m_trackInfo;
- QTime m_time;
+ QElapsedTimer m_time;
Qmmp::State m_previousState;
quint64 m_elapsed;
QPointer<HistoryWindow> m_historyWindow;