diff options
Diffstat (limited to 'src/qml/jsruntime')
-rw-r--r-- | src/qml/jsruntime/qv4scopedvalue_p.h | 4 |
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 |