diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-09-28 00:50:00 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-09-28 00:50:00 (GMT) |
commit | 2c49a77c1a036ac7cab00871c0b648de9ecaf66e (patch) | |
tree | 833669e0611f83ba91260b77815b23e13e59ef9c /src/declarative | |
parent | c6090b6749c9f9bf002f999f808e456b74fea1bf (diff) | |
download | Qt-2c49a77c1a036ac7cab00871c0b648de9ecaf66e.zip Qt-2c49a77c1a036ac7cab00871c0b648de9ecaf66e.tar.gz Qt-2c49a77c1a036ac7cab00871c0b648de9ecaf66e.tar.bz2 |
Give more error information on failed image loading.
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/fx/qfxpixmapcache.cpp | 1 |
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; } } |