diff options
author | Damian Jansen <damian.jansen@nokia.com> | 2012-07-19 14:09:47 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-25 04:09:33 +0200 |
commit | 82212d1dd15658e25a094f26892ff937b4df41ec (patch) | |
tree | f55bb79e60404ed9f816fe30f621f0a5b5b00635 /src/quick/items/qquickanimatedimage_p_p.h | |
parent | 2d4f74b7d4a77f3470135e559d619c351cef6788 (diff) |
Fix inconsistent playing / paused property setting and signals
Playing should only indicate false if it has been set as such
in code, or in the event of a valid image but non-movie being
used.
Noted the edge case in documentation.
Signals were not being emitted for playing/paused in the cases
where an image was not loaded. Paused property was also being
incorrectly assigned, which supressed pause behavior.
Task-number: QTBUG-26478
Change-Id: I1aaab9b7c495811114b30b491a900804a75d590f
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'src/quick/items/qquickanimatedimage_p_p.h')
-rw-r--r-- | src/quick/items/qquickanimatedimage_p_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/items/qquickanimatedimage_p_p.h b/src/quick/items/qquickanimatedimage_p_p.h index 95142f5f1f..3aec63d06a 100644 --- a/src/quick/items/qquickanimatedimage_p_p.h +++ b/src/quick/items/qquickanimatedimage_p_p.h @@ -78,6 +78,7 @@ public: QMovie *_movie; QNetworkReply *reply; int redirectCount; + bool oldPlaying; }; QT_END_NAMESPACE |