Correctly pause animation when paused in starting ScriptAction.
authorMichael Brasser <michael.brasser@nokia.com>
Mon, 1 Aug 2011 00:43:54 +0000 (10:43 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 1 Aug 2011 01:01:13 +0000 (03:01 +0200)
commit9bc7e70c00736678d1430190566d2575c2ec764a
tree0d0239a7054403682ab5311f78553c309f592587
parentd410ad364ec0b8877797145c68a4d7c3c98ce1c0
Correctly pause animation when paused in starting ScriptAction.

Task-number: QTBUG-13598
Change-Id: Ibd54f4e014eff301b57451081b7f7b35d1bed740
Reviewed-on: http://codereview.qt.nokia.com/2408
Reviewed-by: Charles Yin <charles.yin@nokia.com>
src/declarative/util/qdeclarativeanimation.cpp
src/qtquick1/util/qdeclarativeanimation.cpp
tests/auto/declarative/qdeclarativeanimations/data/pauseBug.qml [new file with mode: 0644]
tests/auto/declarative/qdeclarativeanimations/tst_qdeclarativeanimations.cpp
tests/auto/qtquick1/qdeclarativeanimations/data/pauseBug.qml [new file with mode: 0644]
tests/auto/qtquick1/qdeclarativeanimations/tst_qdeclarativeanimations.cpp