summaryrefslogtreecommitdiffstats
path: root/tests/auto/qwswindowsystem
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@nokia.com>2009-09-09 08:38:23 (GMT)
committerPaul Olav Tvete <paul.tvete@nokia.com>2009-09-09 08:40:06 (GMT)
commit2cb0292aaa2aa60dbfdcc0391753774bf3823151 (patch)
tree67e34079e7e13e62a96ce6c89be590a32a4a9d44 /tests/auto/qwswindowsystem
parentc363cd989a07056b0b8ea39e44c719512bb1e619 (diff)
downloadQt-2cb0292aaa2aa60dbfdcc0391753774bf3823151.zip
Qt-2cb0292aaa2aa60dbfdcc0391753774bf3823151.tar.gz
Qt-2cb0292aaa2aa60dbfdcc0391753774bf3823151.tar.bz2
Tweak the test
Give it another spin through the event loop, to make sure that all the painting gets done. (This is not connected to the glib timer event test failure.)
Diffstat (limited to 'tests/auto/qwswindowsystem')
-rw-r--r--tests/auto/qwswindowsystem/tst_qwswindowsystem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qwswindowsystem/tst_qwswindowsystem.cpp b/tests/auto/qwswindowsystem/tst_qwswindowsystem.cpp
index 3a2e79b..014074a 100644
--- a/tests/auto/qwswindowsystem/tst_qwswindowsystem.cpp
+++ b/tests/auto/qwswindowsystem/tst_qwswindowsystem.cpp
@@ -239,6 +239,7 @@ void tst_QWSWindowSystem::windowOpacity()
QColor(255, 255, 255, 0));
w2.setPalette(palette);
QApplication::processEvents();
+ QApplication::processEvents();
QCOMPARE(win1->allocatedRegion(), QRegion(rect));
QCOMPARE(win2->allocatedRegion(), QRegion(rect));
VERIFY_COLOR(rect, w1.color());