aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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