summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-08-16 01:19:03 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-08-16 01:19:03 (GMT)
commitb464dba6efe6593ed6a21511f999868dc78a3e9d (patch)
treec9b762af036e5d41ac2262767ccf9f13b298deea /src/declarative
parentf7c07892e927a6420bb64a7011312f0a4a5a1fc9 (diff)
parentade18bab3a2c4c877baa9be2a0012d670dafb64a (diff)
downloadQt-b464dba6efe6593ed6a21511f999868dc78a3e9d.zip
Qt-b464dba6efe6593ed6a21511f999868dc78a3e9d.tar.gz
Qt-b464dba6efe6593ed6a21511f999868dc78a3e9d.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/util/qdeclarativeanimation.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/util/qdeclarativeanimation.cpp b/src/declarative/util/qdeclarativeanimation.cpp
index a747706..2fca09d 100644
--- a/src/declarative/util/qdeclarativeanimation.cpp
+++ b/src/declarative/util/qdeclarativeanimation.cpp
@@ -2392,6 +2392,8 @@ void QDeclarativePropertyAnimation::transition(QDeclarativeStateActions &actions
d->actions = &data->actions;
} else {
delete data;
+ d->va->setFromSourcedValue(0); //clear previous data
+ d->va->setAnimValue(0, QAbstractAnimation::DeleteWhenStopped); //clear previous data
d->actions = 0;
}
}