Created
June 19, 2019 18:43
-
-
Save torarnv/ce10f13e5e02d769b5d4ff665ae4639e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git i/src/corelib/animation/qabstractanimation.cpp w/src/corelib/animation/qabstractanimation.cpp | |
index 78b79e574a..42308b78fb 100644 | |
--- i/src/corelib/animation/qabstractanimation.cpp | |
+++ w/src/corelib/animation/qabstractanimation.cpp | |
@@ -1061,7 +1061,7 @@ QAbstractAnimation::~QAbstractAnimation() | |
if (d->state != Stopped) { | |
QAbstractAnimation::State oldState = d->state; | |
d->state = Stopped; | |
- emit stateChanged(oldState, d->state); | |
+ emit stateChanged(d->state, oldState); | |
if (oldState == QAbstractAnimation::Running) | |
QAnimationTimer::unregisterAnimation(this); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment