diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-08-02 09:11:52 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-08-02 09:14:22 (GMT) |
commit | f127fadc833f7b64977877879787d96586d0a501 (patch) | |
tree | db57d2c7f85cceaa7b7c486ddf5da18164c10286 /tests/auto/qpainter | |
parent | 79366cdeef2a378356e2d6fdbceb68c6419ec062 (diff) | |
download | Qt-f127fadc833f7b64977877879787d96586d0a501.zip Qt-f127fadc833f7b64977877879787d96586d0a501.tar.gz Qt-f127fadc833f7b64977877879787d96586d0a501.tar.bz2 |
Revert "Fix the byte order in QImage::fill for 24bpp formats"
This change the behavior. (as it break tests like drawImage_task258776
and tst_QPainter::drawhelper_blend_color)
The bug it fixes is not considered importent enough
This reverts commit 121c5143f1002734ff7aa62785ff14e0e6612aae and
d8c6ae24f94133828f4f1b536538e69c5e438202
Diffstat (limited to 'tests/auto/qpainter')
-rw-r--r-- | tests/auto/qpainter/tst_qpainter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qpainter/tst_qpainter.cpp b/tests/auto/qpainter/tst_qpainter.cpp index 7679545..2cbb9b2 100644 --- a/tests/auto/qpainter/tst_qpainter.cpp +++ b/tests/auto/qpainter/tst_qpainter.cpp @@ -3642,7 +3642,7 @@ void tst_QPainter::drawImage_task258776() painter.end(); QImage expected(33, 33, QImage::Format_RGB32); - expected.fill(0x0000ff); + expected.fill(0xff0000); painter.begin(&expected); painter.drawImage(QRectF(0, 0, 32, 32), src); |