diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-08-13 03:38:22 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-08-13 03:38:22 (GMT) |
commit | 7a2d6086b41aa4877f253dff4d412028506ae38e (patch) | |
tree | c140c160219095f6fc7bc9c0ba697d17653d62e7 /src | |
parent | ee62807198a2525577c14f718b98d07ae0ec7bec (diff) | |
parent | f9fe93e6e85294274d4e0ce81db09783cfacd733 (diff) | |
download | Qt-7a2d6086b41aa4877f253dff4d412028506ae38e.zip Qt-7a2d6086b41aa4877f253dff4d412028506ae38e.tar.gz Qt-7a2d6086b41aa4877f253dff4d412028506ae38e.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
Clear previous animation data for non-triggering animations.
Fix configure -help output. declarative module is built by default.
Diffstat (limited to 'src')
-rw-r--r-- | src/declarative/util/qdeclarativeanimation.cpp | 2 |
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; } } |