diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-07-17 11:11:51 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-07-17 11:12:52 (GMT) |
commit | 83670dbf53203757a28b10837b66f46515e1328d (patch) | |
tree | 1fab9fcbb3ce7d14195c36200367bdde230ad2f0 /src | |
parent | d2f9c8179173eeebc08b4b3207adb789efe4fb3a (diff) | |
download | Qt-83670dbf53203757a28b10837b66f46515e1328d.zip Qt-83670dbf53203757a28b10837b66f46515e1328d.tar.gz Qt-83670dbf53203757a28b10837b66f46515e1328d.tar.bz2 |
Animations: animations with 0 duration would never be auto-deleted
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/animation/qabstractanimation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/animation/qabstractanimation.cpp b/src/corelib/animation/qabstractanimation.cpp index 75decf8..cf3e62d 100644 --- a/src/corelib/animation/qabstractanimation.cpp +++ b/src/corelib/animation/qabstractanimation.cpp @@ -620,8 +620,8 @@ void QAbstractAnimation::start(DeletionPolicy policy) Q_D(QAbstractAnimation); if (d->state == Running) return; - d->setState(Running); d->deleteWhenStopped = policy; + d->setState(Running); } /*! |