From: Ivailo Monev Date: Mon, 29 Jun 2020 16:40:16 +0000 (+0000) Subject: use exclusive conditionals in QUnifiedTimer::timerEvent() X-Git-Tag: 4.12.0~3708 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8ad5ce3b7045781d5c4aad3fd13cf9d67204a627;p=kde%2FKatie.git use exclusive conditionals in QUnifiedTimer::timerEvent() Signed-off-by: Ivailo Monev --- diff --git a/src/gui/animation/qabstractanimation.cpp b/src/gui/animation/qabstractanimation.cpp index 3c8431ffd..564fef1a0 100644 --- a/src/gui/animation/qabstractanimation.cpp +++ b/src/gui/animation/qabstractanimation.cpp @@ -249,9 +249,7 @@ void QUnifiedTimer::timerEvent(QTimerEvent *event) time.start(); } } - } - - if (event->timerId() == animationTimer.timerId()) { + } else if (event->timerId() == animationTimer.timerId()) { // update current time on all top level animations updateAnimationsTime(); restartAnimationTimer();