aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime')
-rw-r--r--src/qml/jsruntime/qv4scopedvalue_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4scopedvalue_p.h b/src/qml/jsruntime/qv4scopedvalue_p.h
index 2e76eb453e..0465cd72c5 100644
--- a/src/qml/jsruntime/qv4scopedvalue_p.h
+++ b/src/qml/jsruntime/qv4scopedvalue_p.h
@@ -86,6 +86,10 @@ struct Scope {
return ptr;
}
+ bool hasException() const {
+ return engine->hasException;
+ }
+
ExecutionEngine *engine;
SafeValue *mark;
#ifndef QT_NO_DEBUG