Track the animationRunning flag correctly in QQuickRenderThreadSingleContextWindowManager
authorCharles Yin <charles.yin@nokia.com>
Fri, 10 Feb 2012 05:33:53 +0000 (15:33 +1000)
committerQt by Nokia <qt-info@nokia.com>
Sat, 11 Feb 2012 04:32:48 +0000 (05:32 +0100)
commitbd3307402d9249ab8155546d7e7db6d381b56e85
tree57c792a2ab00c5d0f2fdf25854211190ef3b8b2a
parentebb65bc084d44cfc96efb29abf0607616095f757
Track the animationRunning flag correctly in QQuickRenderThreadSingleContextWindowManager

The animationRunning value in QQuickRenderThreadSingleContextWindowManager
should always match the animation driver's running state. When the renderer
starts rendering, should check and update the animationRunning to
the current animation driver's isRunning() value after killing the
animation timer.

Change-Id: I30b55872ae1fc69b8db47ead7f1f2ee86de966c8
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
src/quick/items/qquickwindowmanager.cpp