Fix tst_qquicktext::hover()

Task-number: QTBUG-36938
Change-Id: I28da25235ae7b8805ebc474777a5edd43ceef941
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
This commit is contained in:
J-P Nurmi 2014-02-27 11:04:04 +01:00 committed by The Qt Project
parent 4693102d94
commit 78cee4eb22
1 changed files with 2 additions and 0 deletions

View File

@ -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);