From 78cee4eb22ee6b0b61f5d89c98f15e61e7c52078 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 27 Feb 2014 11:04:04 +0100 Subject: [PATCH] Fix tst_qquicktext::hover() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-36938 Change-Id: I28da25235ae7b8805ebc474777a5edd43ceef941 Reviewed-by: Jan Arve Sæther --- tests/auto/quick/qquicktext/tst_qquicktext.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/auto/quick/qquicktext/tst_qquicktext.cpp b/tests/auto/quick/qquicktext/tst_qquicktext.cpp index 59806a8..0b69981 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(object.data()); QVERIFY(window); + window->show(); + QVERIFY(QTest::qWaitForWindowExposed(window)); QQuickMouseArea *mouseArea = window->property("mouseArea").value(); QVERIFY(mouseArea); -- 2.7.4