aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/data/DeleteRootObjectInCreationComponentBase.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/data/DeleteRootObjectInCreationComponentBase.qml')
-rw-r--r--tests/auto/qml/qqmlecmascript/data/DeleteRootObjectInCreationComponentBase.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qml/qqmlecmascript/data/DeleteRootObjectInCreationComponentBase.qml b/tests/auto/qml/qqmlecmascript/data/DeleteRootObjectInCreationComponentBase.qml
index ce542d3dbd..1d5dbe88d5 100644
--- a/tests/auto/qml/qqmlecmascript/data/DeleteRootObjectInCreationComponentBase.qml
+++ b/tests/auto/qml/qqmlecmascript/data/DeleteRootObjectInCreationComponentBase.qml
@@ -6,9 +6,9 @@ Rectangle {
color: "red"
function flipOwnership() {
- ModApi.trackObject(base);
- ModApi.trackedObject(); // flip the ownership.
- if (!ModApi.trackedObjectHasJsOwnership())
+ ModApi.QObject.trackObject(base);
+ ModApi.QObject.trackedObject(); // flip the ownership.
+ if (!ModApi.QObject.trackedObjectHasJsOwnership())
derived.testConditionsMet = false;
else
derived.testConditionsMet = true;