aboutsummaryrefslogtreecommitdiff
path: root/src/downloadwidget.h
diff options
context:
space:
mode:
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