diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-09-02 10:42:47 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-09-03 18:43:22 +0200 |
commit | f51b690e91bb2d7c8a03c5cef42abca37d97f8bb (patch) | |
tree | 9ad2f14df7d280ec4b0ade4ba8fb34a24f42e0b1 /src/corelib/animation/qabstractanimation_p.h | |
parent | 21de5aa1ac0255ca0aeaf89db09c2f2beaf33694 (diff) |
Remove timeStep parameter from QAnimationDrive::advanceAnimation
Addresses ### Qt 6 comment, and documentation pointing out that the parameter
value is ignored. It wasn't ignored in the code, but that's the kind of change
we can make now.
With this change, QUnifiedTimer::updateAnimationTimers is only called with -1
as the currentTick input parameter, also from Qt Declarative. Make it default,
so that leaf modules can be fixed. Once that it done, the parameter can be
removed completely.
Change-Id: I80c57ff92f3b615b932dd73d711cf6397347efd8
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/corelib/animation/qabstractanimation_p.h')
-rw-r--r-- | src/corelib/animation/qabstractanimation_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/animation/qabstractanimation_p.h b/src/corelib/animation/qabstractanimation_p.h index 037d3be74f..0af1925287 100644 --- a/src/corelib/animation/qabstractanimation_p.h +++ b/src/corelib/animation/qabstractanimation_p.h @@ -185,7 +185,7 @@ public: void restart(); void maybeUpdateAnimationsToCurrentTime(); - void updateAnimationTimers(qint64 currentTick); + void updateAnimationTimers(qint64 = -1); // ### Qt 6 - remove parameter once qtdeclarative is fixed //useful for profiling/debugging int runningAnimationCount(); |