qt5base-lts/tests/auto/gui
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
..
image Backwards compatibility fix: No default colormap for Mono QImages 2016-07-27 11:46:11 +00:00
itemmodels Merge remote-tracking branch 'origin/5.5' into dev 2015-07-01 11:05:26 +02:00
kernel Blacklist modalDialogClosingOneOfTwoModal on OS X 2016-06-04 18:36:04 +00:00
math3d tests/auto/gui: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 08:29:15 +00:00
painting Fix rounding error in fetchTransformedBilinear 2016-02-02 22:47:10 +00:00
qopengl Merge remote-tracking branch 'origin/5.5' into 5.6 2016-01-19 10:03:01 +01:00
qopenglconfig Tests: Harmonize code checking on platform name. 2015-09-24 07:49:30 +00:00
text Don't alter input string in QTextLayout with ShowLineAndParagraphSeparators 2016-06-01 10:04:02 +00:00
util tst_qdesktopservices: Use regular expression to suppress error message. 2015-10-02 09:34:41 +00:00
gui.pro Add qopenglconfig test. 2015-02-02 23:05:41 +00:00