diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-02-18 17:27:45 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-03-17 10:54:17 (GMT) |
commit | cd33d38ce0067719b0215264a22685a91b2e08dc (patch) | |
tree | 6dce3760c20b9631ca3be96b59bc0351381cedcb /src/corelib/tools | |
parent | 8c9446cd2058fde086df92f6b7d97e4770cf8dc6 (diff) | |
download | Qt-cd33d38ce0067719b0215264a22685a91b2e08dc.zip Qt-cd33d38ce0067719b0215264a22685a91b2e08dc.tar.gz Qt-cd33d38ce0067719b0215264a22685a91b2e08dc.tar.bz2 |
Port QtCore uses of QTime as a stopwatch to QTimestamp.
tst_qtimeline improvement: from 56187446 to 53915928 (callgrind)
Diffstat (limited to 'src/corelib/tools')
-rw-r--r-- | src/corelib/tools/qtimeline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qtimeline.cpp b/src/corelib/tools/qtimeline.cpp index 877a77a..57977bc 100644 --- a/src/corelib/tools/qtimeline.cpp +++ b/src/corelib/tools/qtimeline.cpp @@ -42,9 +42,9 @@ #include "qtimeline.h" #include <private/qobject_p.h> -#include <QtCore/qdatetime.h> #include <QtCore/qcoreevent.h> #include <QtCore/qmath.h> +#include <QtCore/qtimestamp.h> QT_BEGIN_NAMESPACE @@ -70,7 +70,7 @@ public: int currentTime; int timerId; - QTime timer; + QTimestamp timer; QTimeLine::Direction direction; QEasingCurve easingCurve; |