From 2c49a77c1a036ac7cab00871c0b648de9ecaf66e Mon Sep 17 00:00:00 2001 From: Michael Brasser Date: Mon, 28 Sep 2009 10:50:00 +1000 Subject: Give more error information on failed image loading. --- src/declarative/fx/qfxpixmapcache.cpp | 1 + 1 file changed, 1 insertion(+) 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; } } -- cgit v0.12