summaryrefslogtreecommitdiffstats
path: root/src/gui/image
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2019-06-07 13:02:03 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2019-06-13 16:49:41 +0200
commitdd3229e6724f05c7c61d6ffc92b5ebfa8ece0b23 (patch)
tree14df8bcb14dd123998922daf6ce591d8eaff18c0 /src/gui/image
parentd2ed1074d051c870e7191d0a31f48fae9759e9d7 (diff)
Remove a few usages of deprecated API
Change-Id: I94bad0b8d3891c6b4a55178836cfff2a4312e330 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/gui/image')
-rw-r--r--src/gui/image/qmovie.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/image/qmovie.cpp b/src/gui/image/qmovie.cpp
index 79203c7b98..c9344fe2a1 100644
--- a/src/gui/image/qmovie.cpp
+++ b/src/gui/image/qmovie.cpp
@@ -175,6 +175,7 @@
#include "qmovie.h"
#include "qglobal.h"
+#include "qelapsedtimer.h"
#include "qimage.h"
#include "qimagereader.h"
#include "qpixmap.h"
@@ -437,7 +438,7 @@ QFrameInfo QMoviePrivate::infoForFrame(int frameNumber)
*/
bool QMoviePrivate::next()
{
- QTime time;
+ QElapsedTimer time;
time.start();
QFrameInfo info = infoForFrame(nextFrameNumber);
if (!info.isValid())