author | llornkcor <llornkcor> | 2003-04-22 19:45:21 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-04-22 19:45:21 (UTC) |
commit | a4cbad5c0dece9af449a5a881973ce272208c1ba (patch) (side-by-side diff) | |
tree | 851b17d12c1d9627514593dc62f167acd91aa6c6 | |
parent | c45bfc674b4ac3dcf13dca127f9f52a4f2641c03 (diff) | |
download | opie-a4cbad5c0dece9af449a5a881973ce272208c1ba.zip opie-a4cbad5c0dece9af449a5a881973ce272208c1ba.tar.gz opie-a4cbad5c0dece9af449a5a881973ce272208c1ba.tar.bz2 |
remove qdebug
-rw-r--r-- | library/resource.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/resource.cpp b/library/resource.cpp index 6f164c7..80ce7a2 100644 --- a/library/resource.cpp +++ b/library/resource.cpp @@ -93,25 +93,26 @@ QString Resource::findPixmap( const QString &pix ) QString picsPath = QPEApplication::qpeDir() + "pics/"; QString f; // Common case optimizations... f = picsPath + pix + ".png"; if ( QFile( f ).exists() ) return f; f = picsPath + pix + ".xpm"; if ( QFile( f ).exists() ) return f; - qDebug ( "\nLoading of image '%s' is not ideal (either it doesn't exist or an extension was specified)\n", pix.latin1()); + //qDebug ( "\nLoading of image '%s' is not ideal (either it doesn't exist or an extension was specified)\n", pix.latin1()); +//is this really necessary?? // All formats... QStrList fileFormats = QImageIO::inputFormats(); QString ff = fileFormats.first(); while ( fileFormats.current() ) { QStringList exts = MimeType("image/"+ff.lower()).extensions(); for ( QStringList::ConstIterator it = exts.begin(); it!=exts.end(); ++it ) { QString f = picsPath + pix + "." + *it; if ( QFile(f).exists() ) return f; } ff = fileFormats.next(); |