summaryrefslogtreecommitdiffstats
path: root/src/gui/image/image.pri
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2014-06-17 13:31:00 +0200
committerAllan Sandfeld Jensen <allan.jensen@digia.com>2014-06-20 16:08:28 +0200
commit70dd5630463cb8aabd927a3a4944aedbd90b70af (patch)
tree54dad54feff32e13a2539f303d6b31bec480b0e1 /src/gui/image/image.pri
parente98c461d43ea07c73898c93debe9285029ba0416 (diff)
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>
Diffstat (limited to 'src/gui/image/image.pri')
0 files changed, 0 insertions, 0 deletions