diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-07-26 09:44:05 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-03 11:24:28 +0200 |
commit | dbe4b45f9b5149f80f8292b61be68b4020a05b55 (patch) | |
tree | 69705aff124eff4d219ca80fec35695606c1fdd8 /tests/auto/widgets/styles/qstylesheetstyle/tst_qstylesheetstyle.cpp | |
parent | 621e434ffeb7b43ee49a751def8a6eb79173f89b (diff) |
Remove some dead code wrapped in Q_WS_QWS.
Change-Id: Ie1ee8c4af603b924abe40145041357981d174445
Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
Diffstat (limited to 'tests/auto/widgets/styles/qstylesheetstyle/tst_qstylesheetstyle.cpp')
-rw-r--r-- | tests/auto/widgets/styles/qstylesheetstyle/tst_qstylesheetstyle.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/auto/widgets/styles/qstylesheetstyle/tst_qstylesheetstyle.cpp b/tests/auto/widgets/styles/qstylesheetstyle/tst_qstylesheetstyle.cpp index 85c8a4a9ec..12cdbf5d3d 100644 --- a/tests/auto/widgets/styles/qstylesheetstyle/tst_qstylesheetstyle.cpp +++ b/tests/auto/widgets/styles/qstylesheetstyle/tst_qstylesheetstyle.cpp @@ -750,13 +750,6 @@ void tst_QStyleSheetStyle::focusColors() widgets << combobox; widgets << new QLabel("TESTING TESTING"); -#ifdef Q_WS_QWS - // QWS has its own special focus logic which is slightly different - // and I don't dare change it at this point, because someone will - // be relying on it. It means that setFocus() on a NoFocus widget (i.e. - // a QLabel) will not work before the window is activated. - widgets[2]->setFocusPolicy(Qt::StrongFocus); -#endif foreach (QWidget *widget, widgets) { QDialog frame; @@ -826,10 +819,6 @@ 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 QApplication::setActiveWindow(&frame); QVERIFY(QTest::qWaitForWindowActive(&frame)); |