diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-11-06 11:34:14 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-11-06 11:34:14 (GMT) |
commit | 9845e93e4f36a2ed6fbb282d00dafe9d7a852a23 (patch) | |
tree | b8bc25152c865454155824f80b155fd5bec467c6 /src/corelib | |
parent | a708f07b593359b6bf5732ec444336956e194cda (diff) | |
download | Qt-9845e93e4f36a2ed6fbb282d00dafe9d7a852a23.zip Qt-9845e93e4f36a2ed6fbb282d00dafe9d7a852a23.tar.gz Qt-9845e93e4f36a2ed6fbb282d00dafe9d7a852a23.tar.bz2 |
Fix build
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/animation/qabstractanimation.cpp | 4 |
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(); |