qt5base-lts/tests/auto/gui/image
Konstantin Ritt 008e5ba61a Invalidate old QImage data if load()/loadFromData() has failed
This guarantees one will never get `!img.isNull()` after
load()/loadFromData() has failed, even if the image was
not null before.
Apply the same fix to QPixmap and QPicture.

Change-Id: Ida1ad6a6f0fc830df8e75ada0c163fc2d3360dea
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
2012-10-10 13:24:23 +02:00
..
qicoimageformat Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qicon Scale icons returned by QIcon::fromTheme. 2012-10-10 08:45:22 +02:00
qimage Invalidate old QImage data if load()/loadFromData() has failed 2012-10-10 13:24:23 +02:00
qimageiohandler Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qimagereader Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qimagewriter Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qmovie Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qpicture Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qpixmap Invalidate old QImage data if load()/loadFromData() has failed 2012-10-10 13:24:23 +02:00
qpixmapcache Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
image.pro QIcon: move back to QtGui 2012-05-18 21:42:38 +02:00