diff options
Diffstat (limited to 'src/qml/jsruntime/qv4setobject.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4setobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4setobject.cpp b/src/qml/jsruntime/qv4setobject.cpp index 1664d1bd71..bbc2f5c391 100644 --- a/src/qml/jsruntime/qv4setobject.cpp +++ b/src/qml/jsruntime/qv4setobject.cpp @@ -90,7 +90,7 @@ ReturnedValue WeakSetCtor::construct(const FunctionObject *f, const Value *argv, return a.asReturnedValue(); adder->call(a, nextValue, 1); - if (scope.engine->hasException) { + if (scope.hasException()) { ScopedValue falsey(scope, Encode(false)); return Runtime::IteratorClose::call(scope.engine, iter, falsey); } |