summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonardo Sobral Cunha <leo.cunha@nokia.com>2009-05-15 11:35:58 (GMT)
committerLeonardo Sobral Cunha <leo.cunha@nokia.com>2009-05-15 12:23:34 (GMT)
commit3e280a737607821feeed391d7881baae33f9dcfe (patch)
tree09bb611a9648d0b8921f65d67d697a424e8d2916 /src
parenta90608bb1827493da578cf9ad41415fc8a7f6e65 (diff)
downloadQt-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')
-rw-r--r--src/corelib/animation/qvariantanimation.cpp2
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
}
/*!