qt5base-lts/tests/auto/gui/image
Eirik Aavitsland 7bf002c3b3 Backwards compatibility fix: No default colormap for Mono QImages
This is a partial revert of a4e2f2e687.

That fix tried to avoid the risk of a crash in pixel() by ensuring
Mono QImages created with external data also got a default color
table. However, that broke usable behavior in existing code that was
painting in Mono QImages using color0/color1.

This commit reverts to the old behavior, and instead expands on the
checking in pixel() so that lacking color table is handled gracefully
for all indexed formats.

Task-number: QTBUG-54827
Change-Id: I9164198bed9d20c4b12cdba40a31c141bef3128d
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
2016-07-27 11:46:11 +00:00
..
qicoimageformat ICO image format: fix regression in writing when size >= 256 2016-05-13 04:37:15 +00:00
qicon Fix possible null pointer dereferences. 2015-12-02 16:32:12 +00:00
qimage Backwards compatibility fix: No default colormap for Mono QImages 2016-07-27 11:46:11 +00:00
qimageiohandler Update copyright headers 2015-02-11 06:49:51 +00:00
qimagereader Crash fix: reject certain malformed bmp images 2016-02-05 04:14:35 +00:00
qimagewriter ICO image format: fix regression in writing when size >= 256 2016-05-13 04:37:15 +00:00
qmovie tests/auto/gui: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 08:29:15 +00:00
qpicture Fix boundingRect test in tst_QPicture 2015-06-16 06:11:58 +00:00
qpixmap Purge sRGB chunks from PNGs in tests. 2016-03-29 08:39:43 +00:00
qpixmapcache tests/auto/gui: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 08:29:15 +00:00
image.pro Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00