aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/animations
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-09-02 11:22:29 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-10-15 16:46:19 +0200
commit3144224223c8fb28fc9ade1b8b2355e4d0538d88 (patch)
tree188a5b89707754f6e8292d6edc40e55c09b8be91 /src/qml/animations
parent1a0b8328c2d9ec82333b483e99b1b8560fbf468f (diff)
Rely on default parameter in QUnifiedTimer::updateAnimationTimer
Allows that parameter to be removed in qtbase. Change-Id: If409d91d0e3a542106790759b8916858eca546e4 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/qml/animations')
-rw-r--r--src/qml/animations/qabstractanimationjob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/animations/qabstractanimationjob.cpp b/src/qml/animations/qabstractanimationjob.cpp
index f3c12bce3f..a04b8b6e9b 100644
--- a/src/qml/animations/qabstractanimationjob.cpp
+++ b/src/qml/animations/qabstractanimationjob.cpp
@@ -86,7 +86,7 @@ void QQmlAnimationTimer::ensureTimerUpdate()
{
QUnifiedTimer *instU = QUnifiedTimer::instance(false);
if (instU && isPaused)
- instU->updateAnimationTimers(-1);
+ instU->updateAnimationTimers();
}
void QQmlAnimationTimer::updateAnimationsTime(qint64 delta)