summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--library/resource.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/resource.cpp b/library/resource.cpp
index 0920b67..6f164c7 100644
--- a/library/resource.cpp
+++ b/library/resource.cpp
@@ -99,12 +99,14 @@ QString Resource::findPixmap( const QString &pix )
99 if ( QFile( f ).exists() ) 99 if ( QFile( f ).exists() )
100 return f; 100 return f;
101 f = picsPath + pix + ".xpm"; 101 f = picsPath + pix + ".xpm";
102 if ( QFile( f ).exists() ) 102 if ( QFile( f ).exists() )
103 return f; 103 return f;
104 104
105 qDebug ( "\nLoading of image '%s' is not ideal (either it doesn't exist or an extension was specified)\n", pix.latin1());
106
105 // All formats... 107 // All formats...
106 QStrList fileFormats = QImageIO::inputFormats(); 108 QStrList fileFormats = QImageIO::inputFormats();
107 QString ff = fileFormats.first(); 109 QString ff = fileFormats.first();
108 while ( fileFormats.current() ) { 110 while ( fileFormats.current() ) {
109 QStringList exts = MimeType("image/"+ff.lower()).extensions(); 111 QStringList exts = MimeType("image/"+ff.lower()).extensions();
110 for ( QStringList::ConstIterator it = exts.begin(); it!=exts.end(); ++it ) { 112 for ( QStringList::ConstIterator it = exts.begin(); it!=exts.end(); ++it ) {