OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28277d1
)
use exclusive conditionals in QUnifiedTimer::timerEvent()
author
Ivailo Monev
<xakepa10@laimg.moc>
Mon, 29 Jun 2020 16:40:16 +0000
(16:40 +0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Mon, 29 Jun 2020 16:40:16 +0000
(16:40 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/gui/animation/qabstractanimation.cpp
patch
|
blob
|
history
diff --git
a/src/gui/animation/qabstractanimation.cpp
b/src/gui/animation/qabstractanimation.cpp
index
3c8431f
..
564fef1
100644
(file)
--- 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();