diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-09-28 13:52:32 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-09-28 13:57:39 (GMT) |
commit | 7626109da40a91cb38fbe3f23e08b50a04d2194a (patch) | |
tree | b53358c91c08ecde5f4d12d5f20e1f6609fa17e7 /src/corelib/animation/qabstractanimation.cpp | |
parent | 124b4a1a5832d21d63722ee5ac68007083a4f8ae (diff) | |
download | Qt-7626109da40a91cb38fbe3f23e08b50a04d2194a.zip Qt-7626109da40a91cb38fbe3f23e08b50a04d2194a.tar.gz Qt-7626109da40a91cb38fbe3f23e08b50a04d2194a.tar.bz2 |
Animations: updateCurrentTime now receives the currentTime as paramater
Reviewed-by: Leo
Diffstat (limited to 'src/corelib/animation/qabstractanimation.cpp')
-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 9027be0..6489cdc 100644 --- a/src/corelib/animation/qabstractanimation.cpp +++ b/src/corelib/animation/qabstractanimation.cpp @@ -604,7 +604,7 @@ void QAbstractAnimation::setCurrentTime(int msecs) } } - updateCurrentTime(); + updateCurrentTime(d->currentTime); if (d->currentLoop != oldLoop) emit currentLoopChanged(d->currentLoop); @@ -705,7 +705,7 @@ bool QAbstractAnimation::event(QEvent *event) } /*! - \fn virtual void QAbstractAnimation::updateCurrentTime() = 0; + \fn virtual void QAbstractAnimation::updateCurrentTime(int currentTime) = 0; This pure virtual function is called every time the animation's current time changes. |