# HG changeset patch # User Andre Heinecke # Date 1429030614 -7200 # Node ID 6b5e7d6bf4a24bd211629e2d4122a6fb740bca9e # Parent 45553ac1eef8987fdc2e2bcc33d2c36c80bbd522 Emit warning when a picture can not be loaded diff -r 45553ac1eef8 -r 6b5e7d6bf4a2 src/pngplayer.cpp --- 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; }