summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-05-26 01:30:20 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-05-26 01:32:32 (GMT)
commit5a6a5b1b83e2196b4cad11fbb0f175682b6f7e8e (patch)
treedbd2772a58dccdb82a4734cc4fca4226cc7d328c
parent113d7a6a1eab75ad5673f9b50ccf8df456b5d628 (diff)
downloadQt-5a6a5b1b83e2196b4cad11fbb0f175682b6f7e8e.zip
Qt-5a6a5b1b83e2196b4cad11fbb0f175682b6f7e8e.tar.gz
Qt-5a6a5b1b83e2196b4cad11fbb0f175682b6f7e8e.tar.bz2
Replace QTime with QElapsedTimer
-rw-r--r--src/declarative/util/qdeclarativeview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/util/qdeclarativeview.cpp b/src/declarative/util/qdeclarativeview.cpp
index e68ef94..b7ce9c9 100644
--- a/src/declarative/util/qdeclarativeview.cpp
+++ b/src/declarative/util/qdeclarativeview.cpp
@@ -116,7 +116,7 @@ public:
void frameBreak() { ++breaks; }
private:
- QTime timer;
+ QElapsedTimer timer;
int breaks;
};
@@ -152,7 +152,7 @@ public:
QBasicTimer resizetimer;
QDeclarativeView::ResizeMode resizeMode;
- QTime frameTimer;
+ QElapsedTimer frameTimer;
void init();