Fixed QUnifiedTimer cleanup.
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>
Thu, 24 Nov 2011 17:09:04 +0000 (18:09 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 28 Nov 2011 05:46:32 +0000 (06:46 +0100)
commitf6de476552e16be80f4c191890796c4f4ba95ce4
tree13b5c092a1e802e7f625f110bec0384b9388a0c7
parent27e4e91808a07c3ed2ee775ad7daabd33f5bb42a
Fixed QUnifiedTimer cleanup.

When destroying QUnifiedTimer's instance, its default animation
driver is destroyed as well. This patch avoids creating another
QUnifiedTimer instance when the animation driver's destructor
calls QUnifiedTimer::instance().

Change-Id: I9cf254a9d04d79447baa8f27625c3890c3645f08
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
src/corelib/animation/qabstractanimation.cpp