aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicktext
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2014-02-27 11:04:04 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-28 02:36:18 +0100
commit78cee4eb22ee6b0b61f5d89c98f15e61e7c52078 (patch)
treebc3985c8b1557f5b2c2e60f4d51b0af0b5e25804 /tests/auto/quick/qquicktext
parent4693102d94e1942c4d72ac2b148cb04edb4b2af5 (diff)
Fix tst_qquicktext::hover()
Task-number: QTBUG-36938 Change-Id: I28da25235ae7b8805ebc474777a5edd43ceef941 Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Diffstat (limited to 'tests/auto/quick/qquicktext')
-rw-r--r--tests/auto/quick/qquicktext/tst_qquicktext.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/quick/qquicktext/tst_qquicktext.cpp b/tests/auto/quick/qquicktext/tst_qquicktext.cpp
index 59806a8aec..0b6998146e 100644
--- a/tests/auto/quick/qquicktext/tst_qquicktext.cpp
+++ b/tests/auto/quick/qquicktext/tst_qquicktext.cpp
@@ -3823,6 +3823,8 @@ void tst_qquicktext::hover()
QQuickWindow *window = qobject_cast<QQuickWindow *>(object.data());
QVERIFY(window);
+ window->show();
+ QVERIFY(QTest::qWaitForWindowExposed(window));
QQuickMouseArea *mouseArea = window->property("mouseArea").value<QQuickMouseArea *>();
QVERIFY(mouseArea);