summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp b/tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp
index a5a039a..d5f63d3 100644
--- a/tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp
+++ b/tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp
@@ -2645,25 +2645,6 @@ void tst_QGraphicsProxyWidget::tooltip_basic()
QVERIFY(foundView);
QVERIFY(foundTipLabel);
}
-
- {
- QHelpEvent helpEvent(QEvent::ToolTip, view.viewport()->rect().topLeft(),
- view.viewport()->mapToGlobal(view.viewport()->rect().topLeft()));
- QApplication::sendEvent(view.viewport(), &helpEvent);
- // Wait 350ms because the tooltip only hides after 300ms...
- QTest::qWait(350);
-
- bool foundView = false;
- bool foundTipLabel = false;
- foreach (QWidget *widget, QApplication::topLevelWidgets()) {
- if (widget == &view)
- foundView = true;
- if (widget->inherits("QTipLabel") && widget->isVisible())
- foundTipLabel = true;
- }
- QVERIFY(foundView);
- QVERIFY(!foundTipLabel);
- }
}
void tst_QGraphicsProxyWidget::childPos_data()