Don't crash when an animation update causes it to delete itself.
authorMichael Brasser <michael.brasser@nokia.com>
Mon, 13 Feb 2012 00:11:26 +0000 (10:11 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 13 Feb 2012 09:27:31 +0000 (10:27 +0100)
commit815b4b463da83802f535b328d7ef699aea529a6b
tree27a6dfcb21dd353bc81231cf2b60369107ef9078
parentab84713eb211fdcc2fc63be6860498d4b4186d11
Don't crash when an animation update causes it to delete itself.

Change-Id: Ic108adfb99a09e6ede71d474240fb0917cee6961
Reviewed-by: Bea Lam <bea.lam@nokia.com>
src/declarative/animations/animations.pri
src/declarative/animations/qabstractanimationjob.cpp
src/declarative/animations/qanimationjobutil_p.h [new file with mode: 0644]
src/declarative/animations/qparallelanimationgroupjob.cpp
src/declarative/animations/qsequentialanimationgroupjob.cpp
tests/auto/qtquick2/qdeclarativesmoothedanimation/data/deleteOnUpdate.qml [new file with mode: 0644]
tests/auto/qtquick2/qdeclarativesmoothedanimation/tst_qdeclarativesmoothedanimation.cpp