From 763b6ad10dbb7a23c446347cb7fb88cfbadd3e27 Mon Sep 17 00:00:00 2001 From: sandman Date: Tue, 10 Dec 2002 23:18:22 +0000 Subject: added a little debug output to the image loading routine to aid in finding application startup time problems --- (limited to 'library/resource.cpp') 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 ) 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()); + // All formats... QStrList fileFormats = QImageIO::inputFormats(); QString ff = fileFormats.first(); -- cgit v0.9.0.2