summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/corelib/animation/qabstractanimation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/animation/qabstractanimation.cpp b/src/corelib/animation/qabstractanimation.cpp
index f650e58c5a..c58dfdbda1 100644
--- a/src/corelib/animation/qabstractanimation.cpp
+++ b/src/corelib/animation/qabstractanimation.cpp
@@ -827,8 +827,8 @@ void QAnimationDriver::start()
{
Q_D(QAnimationDriver);
if (!d->running) {
- emit started();
d->running = true;
+ emit started();
}
}
@@ -837,8 +837,8 @@ void QAnimationDriver::stop()
{
Q_D(QAnimationDriver);
if (d->running) {
- emit stopped();
d->running = false;
+ emit stopped();
}
}