diff options
author | Paul Olav Tvete <paul.tvete@nokia.com> | 2009-09-14 14:15:20 +0200 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@nokia.com> | 2009-09-14 14:37:51 +0200 |
commit | 2f331bb76f00e251513c197fd43bee9faa511395 (patch) | |
tree | 92ad4e725525d9b26e55322f6433acf10d8bd118 | |
parent | 89620720e9969360254f950fc63d131d82dd3471 (diff) | |
download | qt4-tools-2f331bb76f00e251513c197fd43bee9faa511395.tar.gz |
Workaround QWS Enter/Leave problem.
Reviewed-by: bnilsen
-rw-r--r-- | tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp | 5 |
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 |