aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqml.cpp')
-rw-r--r--src/qml/qml/qqml.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/qqml.cpp b/src/qml/qml/qqml.cpp
index 3b0000ab02..474b99b728 100644
--- a/src/qml/qml/qqml.cpp
+++ b/src/qml/qml/qqml.cpp
@@ -974,7 +974,7 @@ bool AOTCompiledContext::callQmlContextPropertyLookup(
}
function->call(nullptr, args, types, argc);
- return !scope.engine->hasException;
+ return !scope.hasException();
}
void AOTCompiledContext::initCallQmlContextPropertyLookup(uint index) const
@@ -1056,7 +1056,7 @@ bool AOTCompiledContext::callObjectPropertyLookup(
}
function->call(object, args, types, argc);
- return !scope.engine->hasException;
+ return !scope.hasException();
}
void AOTCompiledContext::initCallObjectPropertyLookup(uint index) const