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.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.h')
-rw-r--r-- | src/corelib/animation/qabstractanimation.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/animation/qabstractanimation.h b/src/corelib/animation/qabstractanimation.h index ed0a75ea1b..2bb1d52582 100644 --- a/src/corelib/animation/qabstractanimation.h +++ b/src/corelib/animation/qabstractanimation.h @@ -152,8 +152,7 @@ Q_SIGNALS: void stopped(); protected: - // ### Qt6: Remove timestep argument - void advanceAnimation(qint64 timeStep = -1); + void advanceAnimation(); virtual void start(); virtual void stop(); |