summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-09-28 00:50:00 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-09-28 00:50:00 (GMT)
commit2c49a77c1a036ac7cab00871c0b648de9ecaf66e (patch)
tree833669e0611f83ba91260b77815b23e13e59ef9c
parentc6090b6749c9f9bf002f999f808e456b74fea1bf (diff)
downloadQt-2c49a77c1a036ac7cab00871c0b648de9ecaf66e.zip
Qt-2c49a77c1a036ac7cab00871c0b648de9ecaf66e.tar.gz
Qt-2c49a77c1a036ac7cab00871c0b648de9ecaf66e.tar.bz2
Give more error information on failed image loading.
-rw-r--r--src/declarative/fx/qfxpixmapcache.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/fx/qfxpixmapcache.cpp b/src/declarative/fx/qfxpixmapcache.cpp
index 0cc09cd..80b5011 100644
--- a/src/declarative/fx/qfxpixmapcache.cpp
+++ b/src/declarative/fx/qfxpixmapcache.cpp
@@ -111,6 +111,7 @@ static bool readImage(QIODevice *dev, QPixmap *pixmap)
*pixmap = QPixmap::fromImage(img);
return true;
} else {
+ qWarning() << imgio.errorString();
return false;
}
}