summaryrefslogtreecommitdiffstats
path: root/tests/auto/qstylesheetstyle
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@nokia.com>2009-09-14 12:15:20 (GMT)
committerPaul Olav Tvete <paul.tvete@nokia.com>2009-09-14 12:37:51 (GMT)
commit2f331bb76f00e251513c197fd43bee9faa511395 (patch)
tree92ad4e725525d9b26e55322f6433acf10d8bd118 /tests/auto/qstylesheetstyle
parent89620720e9969360254f950fc63d131d82dd3471 (diff)
downloadQt-2f331bb76f00e251513c197fd43bee9faa511395.zip
Qt-2f331bb76f00e251513c197fd43bee9faa511395.tar.gz
Qt-2f331bb76f00e251513c197fd43bee9faa511395.tar.bz2
Workaround QWS Enter/Leave problem.
Reviewed-by: bnilsen
Diffstat (limited to 'tests/auto/qstylesheetstyle')
-rw-r--r--tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp b/tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp
index 491330b..360e433 100644
--- a/tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp
+++ b/tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp
@@ -841,6 +841,11 @@ void tst_QStyleSheetStyle::hoverColors()
frame.setLayout(layout);
frame.show();
+#ifdef Q_WS_QWS
+//QWS does not implement enter/leave when windows are shown underneath the cursor
+ QCursor::setPos(QPoint(0,0));
+#endif
+
#ifdef Q_WS_X11
qt_x11_wait_for_window_manager(&frame);
#endif