From 5b76b0de4848912cb9901524ff07d03bc9b71a5f Mon Sep 17 00:00:00 2001 From: Gunnar Sletta Date: Wed, 8 Feb 2012 10:19:39 +0100 Subject: Make use of the new maybeAdvance animation logic inside the animation system Change-Id: Ifef986241d4817fe1e8f8cb94b9640b2bcec0d29 Reviewed-by: Michael Brasser --- src/declarative/animations/qabstractanimationjob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/declarative/animations/qabstractanimationjob.cpp b/src/declarative/animations/qabstractanimationjob.cpp index a796016bb1..d9fe79596c 100644 --- a/src/declarative/animations/qabstractanimationjob.cpp +++ b/src/declarative/animations/qabstractanimationjob.cpp @@ -137,7 +137,7 @@ void QDeclarativeAnimationTimer::startAnimations() startAnimationPending = false; //force timer to update, which prevents large deltas for our newly added animations if (!animations.isEmpty()) - QUnifiedTimer::instance()->updateAnimationTimers(-1); + QUnifiedTimer::instance()->maybeUpdateAnimationsToCurrentTime(); //we transfer the waiting animations into the "really running" state animations += animationsToStart; -- cgit v1.2.3