diff src/pngplayer.cpp @ 20:6b5e7d6bf4a2 0.0.1

Emit warning when a picture can not be loaded
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 14 Apr 2015 18:56:54 +0200
parents f290e8c4e097
children 64a51a42c01f
line wrap: on
line diff
--- a/src/pngplayer.cpp	Tue Apr 14 18:56:31 2015 +0200
+++ b/src/pngplayer.cpp	Tue Apr 14 18:56:54 2015 +0200
@@ -108,6 +108,7 @@
     /* If this is too slow we could use a pixmap cache here and do
      * some intelligent preloading */
     if (pic.isNull()) {
+        qWarning() << "Failed to load picture: " << fileName;
 //        emit error(tr("Failed to load picture: '%1'").arg(fileName));
         return;
     }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)