Make initialize work despite pending resets
authorAlan Alpert <alan.alpert@nokia.com>
Tue, 1 Nov 2011 10:13:35 +0000 (20:13 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 2 Nov 2011 07:25:58 +0000 (08:25 +0100)
commit7f74a2e949716a856e0b0c466f943f923204d258
treea3be17b7a363d8e3faff9b9491a1188db59aeaac
parent685a00d7776de64366a4aa60bf154bea99c9026d
Make initialize work despite pending resets

This allows for the data to be updated instantly, instead of waiting for
the reset in the next paint event. This is needed by the
QQuickImageParticle autotest to pass stably.

Change-Id: I554eb9d9ddbfc6ba06264dedafb14498685e04cf
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/declarative/particles/qquickimageparticle.cpp
src/declarative/particles/qquickparticlepainter.cpp
tests/auto/particles/qquickimageparticle/qquickimageparticle.pro