From c951704856a9bb38dfebdd65c3838fffc9454108 Mon Sep 17 00:00:00 2001 From: Charles Yin Date: Thu, 23 Jun 2011 12:42:45 +1000 Subject: [PATCH] windowShown is a property of qtest, not util. Change-Id: I3d96b6bd43fc8fdfdf9a916032efd9a7360aafba --- src/imports/testlib/TestCase.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imports/testlib/TestCase.qml b/src/imports/testlib/TestCase.qml index 0ba6c3b..2e4df2c 100644 --- a/src/imports/testlib/TestCase.qml +++ b/src/imports/testlib/TestCase.qml @@ -69,7 +69,7 @@ Item { // Property that is set to true when the main window is shown. // We need to set the property value in an odd way to handle // both qmlviewer and the QtQuickTest module test wrapper. - property bool windowShown: util.wrapper ? util.windowShown : false + property bool windowShown: util.wrapper ? qtest.windowShown : false // Internal private state. Identifiers prefixed with qtest are reserved. property bool qtest_prevWhen: true -- 2.7.4