From 423db567816bb3b71ae907195d4a92b9c293e5e9 Mon Sep 17 00:00:00 2001 From: AL <26797547+Al12rs@users.noreply.github.com> Date: Sat, 15 Feb 2020 23:02:49 +0100 Subject: Change Qtime to QElapsedtimer in some palaces to remove the warnings. --- src/downloadmanager.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/downloadmanager.h') 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 . #include #include #include +#include #include #include #include @@ -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 m_Progress; std::tuple m_SpeedDiff; -- cgit v1.3.1