Mercurial > retraceit
changeset 7:c11fe56aa4a2
Disable error if an image cannot be loaded
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 25 Mar 2015 14:25:10 +0100 |
parents | 031ce03cfdf2 |
children | ac4db84f1d9d |
files | src/pngplayer.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pngplayer.cpp Wed Mar 25 14:24:55 2015 +0100 +++ b/src/pngplayer.cpp Wed Mar 25 14:25:10 2015 +0100 @@ -100,7 +100,7 @@ /* If this is too slow we could use a pixmap cache here and do * some intelligent preloading */ if (pic.isNull()) { - emit error(tr("Failed to load picture: '%1'").arg(fileName)); +// emit error(tr("Failed to load picture: '%1'").arg(fileName)); return; } mPNGLabel->setPixmap(pic);