qt5base-lts/tests/auto/gui
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
..
image Invalidate old QImage data if load()/loadFromData() has failed 2012-10-10 13:24:23 +02:00
itemmodels Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
kernel Revise QClipboard auto tests 2012-09-27 09:14:51 +02:00
math3d Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
painting Test: Enable tst_QWMatrix::operator_star_qwmatrix 2012-09-27 21:13:52 +02:00
qopengl Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
text Delete the QVariant ctors taking global Qt enum values. 2012-10-10 08:45:22 +02:00
util Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
gui.pro Move QStandardItem/QStandardItemModel to QtGui 2012-06-29 22:42:19 +02:00