summaryrefslogtreecommitdiff
authorsandman <sandman>2002-12-10 23:18:22 (UTC)
committer sandman <sandman>2002-12-10 23:18:22 (UTC)
commit763b6ad10dbb7a23c446347cb7fb88cfbadd3e27 (patch) (unidiff)
tree0da5085b632bcd5084065c7814007e413600a7d4
parent967fa32fa3eb3296f675c9d7af8cce838c6b592b (diff)
downloadopie-763b6ad10dbb7a23c446347cb7fb88cfbadd3e27.zip
opie-763b6ad10dbb7a23c446347cb7fb88cfbadd3e27.tar.gz
opie-763b6ad10dbb7a23c446347cb7fb88cfbadd3e27.tar.bz2
added a little debug output to the image loading routine to aid in finding
application startup time problems
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
@@ -102,6 +102,8 @@ QString Resource::findPixmap( const QString &pix )
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();