aboutsummaryrefslogtreecommitdiff
path: root/src/downloadwidget.h
diff options
context:
space:
mode:
authorLibravatar Keshav Bhatt <keshavnrj@gmail.com>2022-02-28 18:08:28 +0530
committerLibravatar Keshav Bhatt <keshavnrj@gmail.com>2022-02-28 18:08:28 +0530
commit9867a6b6279229d53fe59854a511c9eea9888427 (patch)
treecefdf3aa78e35741100a554f0fc25d75c4ef3065 /src/downloadwidget.h
parent020ac6daeac226da90bc0c884a9b22a7da9baa99 (diff)
downloadwhatsie-9867a6b6279229d53fe59854a511c9eea9888427.tar.gz
whatsie-9867a6b6279229d53fe59854a511c9eea9888427.zip
build: migrate to qt 5.15
Diffstat (limited to 'src/downloadwidget.h')
-rw-r--r--src/downloadwidget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/downloadwidget.h b/src/downloadwidget.h
index 521d996..ff9e488 100644
--- a/src/downloadwidget.h
+++ b/src/downloadwidget.h
@@ -57,6 +57,7 @@
#include <QFrame>
#include <QTime>
+#include <QElapsedTimer>
QT_BEGIN_NAMESPACE
class QWebEngineDownloadItem;
@@ -82,7 +83,7 @@ private:
QString withUnit(qreal bytes);
QWebEngineDownloadItem *m_download;
- QTime m_timeAdded;
+ QElapsedTimer m_timeAdded;
};
#endif // DOWNLOADWIDGET_H