summaryrefslogtreecommitdiffstats
path: root/src/plugins/imageformats
diff options
context:
space:
mode:
authorKurt Korbatits <kurt.korbatits@nokia.com>2010-06-10 04:36:54 (GMT)
committerKurt Korbatits <kurt.korbatits@nokia.com>2010-06-10 04:36:54 (GMT)
commita4df1784086ee086e64b35fc1d2df827704708be (patch)
treec5a93bbefa01e6a4d5b45309d864d61711b8a970 /src/plugins/imageformats
parent558089fb21e7f388f9810c51abbd9bf3872b2178 (diff)
downloadQt-a4df1784086ee086e64b35fc1d2df827704708be.zip
Qt-a4df1784086ee086e64b35fc1d2df827704708be.tar.gz
Qt-a4df1784086ee086e64b35fc1d2df827704708be.tar.bz2
Regression Qt4.4: QMovie does not render properly some mng files
Task-number:QTBUG-2414 Reviewed-by:Dmytro Poplavskiy
Diffstat (limited to 'src/plugins/imageformats')
-rw-r--r--src/plugins/imageformats/mng/qmnghandler.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/imageformats/mng/qmnghandler.cpp b/src/plugins/imageformats/mng/qmnghandler.cpp
index d408e6c..9dbb885 100644
--- a/src/plugins/imageformats/mng/qmnghandler.cpp
+++ b/src/plugins/imageformats/mng/qmnghandler.cpp
@@ -271,7 +271,6 @@ bool QMngHandlerPrivate::getNextImage(QImage *result)
}
if ((MNG_NOERROR == ret) || (MNG_NEEDTIMERWAIT == ret)) {
*result = image;
- image.fill(0);
frameIndex = nextIndex++;
if (haveReadAll && (frameCount == 0))
frameCount = nextIndex;