diff -r c3690ec91ef8 -r 923ff622b8b9 src/hbcore/image/hbiconsource.cpp --- a/src/hbcore/image/hbiconsource.cpp Wed Jun 23 18:33:25 2010 +0300 +++ b/src/hbcore/image/hbiconsource.cpp Tue Jul 06 14:36:53 2010 +0300 @@ -303,6 +303,7 @@ QImageReader *HbIconSource::imageReader() { if (!mImageReader) { + type(); // make sure type is initialized mImageReader = new QImageReader(mFilename, mType.toLatin1()); } return mImageReader && mImageReader->canRead() ? mImageReader : 0;