summaryrefslogtreecommitdiffstats
path: root/dist/changes-5.0.0
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2012-07-24 15:23:49 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-29 16:53:00 +0200
commitc1e5f600abaee393e66fb04e2038bc97d82851ef (patch)
tree402474ef017437e1dfe0b2e89da0c85627a17c6e /dist/changes-5.0.0
parentf3b45ffa6159bc8b7ecfb0578bbb5cb826de1338 (diff)
Made QImage::fill(uint pixel) for RGB888 accept QRgb values.
Previously QImage::fill() for Format_RGB888 expected a BGR value instead of the RGB order defined by QRgb, making it counter intuitive to use related to the 32-bit formats. Fixed the QPixelLayout data for RGB888 and changed the byte order of quint24 based on what the optimized image conversion routines expect. Change-Id: I72926debbc6f5b5cb10b8aa0b2a2a916a04db946 Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
Diffstat (limited to 'dist/changes-5.0.0')
-rw-r--r--dist/changes-5.0.04
1 files changed, 4 insertions, 0 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0
index c5db0852b1..6cea7fed9a 100644
--- a/dist/changes-5.0.0
+++ b/dist/changes-5.0.0
@@ -444,6 +444,10 @@ QtGui
* QOpenGLPaintDevice has been added to be able to use QPainter to render into
the currently bound context.
+* Behavioral change in QImage::fill() on an image with format Format_RGB888:
+ For consistency with RGB32 and other 32-bit formats, function now expects
+ image data in RGB layout as opposed to BGR layout.
+
QtWidgets
---------
* QInputContext removed as well as related getters and setters on QWidget and QApplication.