changeset 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 45553ac1eef8
children fbe6b5b115de
files src/pngplayer.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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)