summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorKurt Korbatits <kurt.korbatits@nokia.com>2010-06-15 00:00:46 (GMT)
committerKurt Korbatits <kurt.korbatits@nokia.com>2010-06-15 00:00:46 (GMT)
commitaa97c7b7a71ddaf3f01f312658b9a43428846aee (patch)
treec2b5e6624f48ca188a6a20b83b77288837f48a8d /src/plugins
parentbe3f7e2d9a4e4670025d0f8d9a66301502ee22ef (diff)
downloadQt-aa97c7b7a71ddaf3f01f312658b9a43428846aee.zip
Qt-aa97c7b7a71ddaf3f01f312658b9a43428846aee.tar.gz
Qt-aa97c7b7a71ddaf3f01f312658b9a43428846aee.tar.bz2
Fixed unit test failure in qimagereader.
This bug was introduced with bug fix 558089fb21e7f388f9810c51abbd9bf3872b2178
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/imageformats/gif/qgifhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/imageformats/gif/qgifhandler.cpp b/src/plugins/imageformats/gif/qgifhandler.cpp
index 56dac52..cba3ff6 100644
--- a/src/plugins/imageformats/gif/qgifhandler.cpp
+++ b/src/plugins/imageformats/gif/qgifhandler.cpp
@@ -1061,7 +1061,7 @@ bool QGifHandler::imageIsComing() const
bool QGifHandler::canRead() const
{
- if (!nextDelay && canRead(device())) {
+ if (canRead(device())) {
setFormat("gif");
return true;
}