qt5base-lts/tests/auto/gui
Allan Sandfeld Jensen 70dd563046 Correct QImage::fill(uint) on RGBA8888 formats
QImage::fill(uint) was incorrectly performing ARGB->RGBA conversion when
called on RGBA8888 formated images.

This patch moves the color conversion to QImage::fill(QColor) where it
belongs so that fill(uint) can behave consistent with documentation and
how it treats other formats.

The fill(uint) method had no automated tests, and this patch adds one.

[ChangeLog][QtGui][QImage] QImage::fill(uint) now fills the given pixel
value unconverted when used on RGBA8888 image, making it consistent with
the documentation and treatment of all other image formats.

Change-Id: I00a9d810c61d350dbdd7c4b9ad09e5ce11896b6d
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
2014-06-20 16:08:28 +02:00
..
image Correct QImage::fill(uint) on RGBA8888 formats 2014-06-20 16:08:28 +02:00
itemmodels tests: Remove superfluous gui additions to QT 2014-02-28 17:59:29 +01:00
kernel Cocoa: Make sure modal windows get correct geometry on show 2014-05-26 11:16:38 +02:00
math3d Add operator[] to QVectorND classes 2013-08-27 17:50:40 +02:00
painting QPageLayout: provide op!= 2014-04-08 22:07:01 +02:00
qopengl Make tst_qopengl more verbose. 2014-03-31 19:50:37 +02:00
text Windows: Fix another crash when creating QRawFont from invalid data 2014-05-28 16:52:04 +02:00
util Bugfix QDesktopServices on Windows 2013-07-11 10:56:49 +02:00
gui.pro purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00