summaryrefslogtreecommitdiffstats
path: root/tests/auto/qpainter
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-07-30 09:10:05 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-07-30 09:11:42 (GMT)
commitd8c6ae24f94133828f4f1b536538e69c5e438202 (patch)
tree05664addd594a360acc05e3c29e263f9230ce334 /tests/auto/qpainter
parent3f2be090858165d291f27a39157f76aab25d1aaa (diff)
downloadQt-d8c6ae24f94133828f4f1b536538e69c5e438202.zip
Qt-d8c6ae24f94133828f4f1b536538e69c5e438202.tar.gz
Qt-d8c6ae24f94133828f4f1b536538e69c5e438202.tar.bz2
Fix tst_QPainter::drawImage_task258776
This test was broken, and change 121c5143f1002734ff7aa62785ff14e0e6612aae exposed it. Why would one check red == blue?
Diffstat (limited to 'tests/auto/qpainter')
-rw-r--r--tests/auto/qpainter/tst_qpainter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qpainter/tst_qpainter.cpp b/tests/auto/qpainter/tst_qpainter.cpp
index 2cbb9b2..7679545 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(0xff0000);
+ expected.fill(0x0000ff);
painter.begin(&expected);
painter.drawImage(QRectF(0, 0, 32, 32), src);