Don't start running if a frame property is set
authorAlan Alpert <alan.alpert@nokia.com>
Wed, 13 Jun 2012 08:49:12 +0000 (18:49 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 20 Jun 2012 04:04:01 +0000 (06:04 +0200)
commit369423f7410dfa855b96c559603e4c75a3a22256
tree2d927748cab2d62b50c77c017d6816f23b1ce0ae
parentcbc6c299d48b05500c8f496abed5ef8b8f735add
Don't start running if a frame property is set

This fixes an error where running couldn't be reliably set, if a frame
property was also being set during initialization. With this fixed, the
autotest is no longer unstable.

Also fixed is a related issue where start/stop/restart were active
before componentComplete.

Change-Id: I34c6d872f2f146d38c65167eda8c0a97525d7f4e
Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
src/quick/items/qquickanimatedsprite.cpp
src/quick/items/qquickanimatedsprite_p.h
tests/auto/quick/qquickanimatedsprite/qquickanimatedsprite.pro