qt5base-lts/tests/auto/gui/image/qimage
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
..
images Moving tiff image format support and libtiff out of qtbase 2012-01-31 14:31:04 +01:00
.gitignore Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
qimage.pro Inplace versions of QImage rgbSwapped() and mirrored() for rvalue refs 2014-01-08 18:08:47 +01:00
tst_qimage.cpp Correct QImage::fill(uint) on RGBA8888 formats 2014-06-20 16:08:28 +02:00