summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@nokia.com>2009-09-14 14:15:20 +0200
committerPaul Olav Tvete <paul.tvete@nokia.com>2009-09-14 14:37:51 +0200
commit2f331bb76f00e251513c197fd43bee9faa511395 (patch)
tree92ad4e725525d9b26e55322f6433acf10d8bd118
parent89620720e9969360254f950fc63d131d82dd3471 (diff)
downloadqt4-tools-2f331bb76f00e251513c197fd43bee9faa511395.tar.gz
Workaround QWS Enter/Leave problem.
Reviewed-by: bnilsen
-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 491330b872..360e433f13 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