summaryrefslogtreecommitdiff
path: root/src/downloadmanager.h
diff options
context:
space:
mode:
authorAL <26797547+Al12rs@users.noreply.github.com>2020-02-15 23:02:49 +0100
committerAL <26797547+Al12rs@users.noreply.github.com>2020-02-15 23:02:49 +0100
commit423db567816bb3b71ae907195d4a92b9c293e5e9 (patch)
tree696f4332b1806849fe3fad4925d34b25e45e527e /src/downloadmanager.h
parent86c5b64ab5d1b57f0bc1f184983adb0936e6de3f (diff)
Change Qtime to QElapsedtimer in some palaces to remove the warnings.
Diffstat (limited to 'src/downloadmanager.h')
-rw-r--r--src/downloadmanager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/downloadmanager.h b/src/downloadmanager.h
index 4fc61cad..140970b8 100644
--- a/src/downloadmanager.h
+++ b/src/downloadmanager.h
@@ -31,6 +31,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
#include <QNetworkReply>
#include <QTime>
#include <QTimer>
+#include <QElapsedTimer>
#include <QVector>
#include <QMap>
#include <QStringList>
@@ -77,7 +78,7 @@ private:
QString m_FileName;
QFile m_Output;
QNetworkReply *m_Reply;
- QTime m_StartTime;
+ QElapsedTimer m_StartTime;
qint64 m_PreResumeSize;
std::pair<int, QString> m_Progress;
std::tuple<int, int, int, int, int> m_SpeedDiff;