diff options
author | Yoann Lopes <yoann.lopes@nokia.com> | 2010-04-15 13:55:13 (GMT) |
---|---|---|
committer | Yoann Lopes <yoann.lopes@nokia.com> | 2010-04-15 13:55:13 (GMT) |
commit | 0caad7dc081812fcc056d917288757b2e475ea05 (patch) | |
tree | 5dc5d3e62b669dd85f3da6bbf0f832b73eab7cd6 /tests/auto | |
parent | f7650a4a05171f759e12f80ca636cc9ffa210142 (diff) | |
download | Qt-0caad7dc081812fcc056d917288757b2e475ea05.zip Qt-0caad7dc081812fcc056d917288757b2e475ea05.tar.gz Qt-0caad7dc081812fcc056d917288757b2e475ea05.tar.bz2 |
Fixes auto-test failure for 9da13ea53aec6d841ba7f416531d6c52d4368df4.
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp | 19 |
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() |