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> |
||
|---|---|---|
| .. | ||
| images | ||
| .gitignore | ||
| qimagewriter.pro | ||
| qimagewriter.qrc | ||
| tst_qimagewriter.cpp | ||