summaryrefslogtreecommitdiffstats
path: root/src/corelib/animation/qabstractanimation.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-11-06 11:34:14 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-11-06 11:34:14 (GMT)
commit9845e93e4f36a2ed6fbb282d00dafe9d7a852a23 (patch)
treeb8bc25152c865454155824f80b155fd5bec467c6 /src/corelib/animation/qabstractanimation.cpp
parenta708f07b593359b6bf5732ec444336956e194cda (diff)
downloadQt-9845e93e4f36a2ed6fbb282d00dafe9d7a852a23.zip
Qt-9845e93e4f36a2ed6fbb282d00dafe9d7a852a23.tar.gz
Qt-9845e93e4f36a2ed6fbb282d00dafe9d7a852a23.tar.bz2
Fix build
Diffstat (limited to 'src/corelib/animation/qabstractanimation.cpp')
-rw-r--r--src/corelib/animation/qabstractanimation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/animation/qabstractanimation.cpp b/src/corelib/animation/qabstractanimation.cpp
index 93ac840..be99b3b 100644
--- a/src/corelib/animation/qabstractanimation.cpp
+++ b/src/corelib/animation/qabstractanimation.cpp
@@ -191,9 +191,9 @@ void QUnifiedTimer::ensureTimerUpdate()
void QUnifiedTimer::updateAnimationsTime()
{
// ignore consistentTiming in case the pause timer is active
- const int delta = (consistentTiming && !isPauseTimerActive) ?
+ int delta = (consistentTiming && !isPauseTimerActive) ?
timingInterval : time.elapsed() - lastTick;
- if slowMode)
+ if (slowMode)
delta /= 5;
lastTick = time.elapsed();