aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles Yin <charles.yin@nokia.com>2011-06-23 12:42:45 +1000
committerCharles Yin <charles.yin@nokia.com>2011-06-23 12:42:45 +1000
commitc951704856a9bb38dfebdd65c3838fffc9454108 (patch)
treec7b53b6f0baa8b92b807ed41dd67f9c76285e5ab
parent9ebf3d12a163b07d900d02f4eadf7e8bc248bb14 (diff)
windowShown is a property of qtest, not util.
-rw-r--r--src/imports/testlib/TestCase.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/testlib/TestCase.qml b/src/imports/testlib/TestCase.qml
index 0ba6c3bd63..2e4df2c87c 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