summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-07-20 06:14:29 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-07-20 06:14:29 (GMT)
commit91178b5826c40ad7ecdd70692d0c6128a1743dc9 (patch)
tree7f85ab884070e722687e3d25d2afcf8e0f817be2 /src/declarative
parentc0493bf1dab7bd5675e9c6a7429f595bed6f9558 (diff)
downloadQt-91178b5826c40ad7ecdd70692d0c6128a1743dc9.zip
Qt-91178b5826c40ad7ecdd70692d0c6128a1743dc9.tar.gz
Qt-91178b5826c40ad7ecdd70692d0c6128a1743dc9.tar.bz2
Pause instead of stop when playing == false.
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/extra/qfxanimatedimageitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/extra/qfxanimatedimageitem.cpp b/src/declarative/extra/qfxanimatedimageitem.cpp
index 7e44abf..5516a00 100644
--- a/src/declarative/extra/qfxanimatedimageitem.cpp
+++ b/src/declarative/extra/qfxanimatedimageitem.cpp
@@ -120,7 +120,7 @@ void QFxAnimatedImageItem::setPlaying(bool play)
if (play)
d->_movie->start();
else
- d->_movie->stop();
+ d->_movie->setPaused(true);
}
/*!