qt5base-lts/tests/auto/gui/image/qimagewriter
Robin Burchell 7a717aaf45 QImageWriter: Detect failure due to trying to write a QImage()
This is not a bug in QImageWriter, but caller code. We should be
explicit about what the problem was so it can be fixed.

[ChangeLog][QtGui][QImageWriter] Add QImageWriter::InvalidImageError to
communicate invalid attempts to write a bad QImage (for instance, a null
QImage).

Change-Id: I0333b8263f1da1c672bed17dab48bfd6cafe41a2
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
2017-02-27 18:03:33 +00:00
..
images ICO image format: fix regression in writing when size >= 256 2016-05-13 04:37:15 +00:00
.gitignore Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
qimagewriter.pro Remove the traces of the discontinued android-no-sdk platform 2016-03-30 10:12:34 +00:00
qimagewriter.qrc Android: Fix qimagewriter test. 2015-01-08 10:02:23 +01:00
tst_qimagewriter.cpp QImageWriter: Detect failure due to trying to write a QImage() 2017-02-27 18:03:33 +00:00