diff options
author | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2009-05-15 11:35:58 (GMT) |
---|---|---|
committer | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2009-05-15 12:23:34 (GMT) |
commit | 3e280a737607821feeed391d7881baae33f9dcfe (patch) | |
tree | 09bb611a9648d0b8921f65d67d697a424e8d2916 /src/corelib/animation | |
parent | a90608bb1827493da578cf9ad41415fc8a7f6e65 (diff) | |
download | Qt-3e280a737607821feeed391d7881baae33f9dcfe.zip Qt-3e280a737607821feeed391d7881baae33f9dcfe.tar.gz Qt-3e280a737607821feeed391d7881baae33f9dcfe.tar.bz2 |
Avoid resetting the QVariantAnimation::currentValue when changing state
Reviewed-by: janarve
Diffstat (limited to 'src/corelib/animation')
-rw-r--r-- | src/corelib/animation/qvariantanimation.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/corelib/animation/qvariantanimation.cpp b/src/corelib/animation/qvariantanimation.cpp index 9b62356..157a321 100644 --- a/src/corelib/animation/qvariantanimation.cpp +++ b/src/corelib/animation/qvariantanimation.cpp @@ -602,8 +602,6 @@ void QVariantAnimation::updateState(QAbstractAnimation::State oldState, { Q_UNUSED(oldState); Q_UNUSED(newState); - Q_D(QVariantAnimation); - d->currentValue = QVariant(); // this will force the refresh } /*! |