diff options
Diffstat (limited to 'src/qml/jsruntime/qv4engine_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4engine_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4engine_p.h b/src/qml/jsruntime/qv4engine_p.h index b4219a9826..d3c0cf43d0 100644 --- a/src/qml/jsruntime/qv4engine_p.h +++ b/src/qml/jsruntime/qv4engine_p.h @@ -363,7 +363,7 @@ public: StackTrace exceptionStackTrace; ReturnedValue throwError(const ValueRef value); - ReturnedValue catchException(ExecutionContext *catchingContext, StackTrace *trace); + ReturnedValue catchException(StackTrace *trace = 0); ReturnedValue throwError(const QString &message); ReturnedValue throwSyntaxError(const QString &message); @@ -378,7 +378,7 @@ public: ReturnedValue throwUnimplemented(const QString &message); // Use only inside catch(...) -- will re-throw if no JS exception - static QQmlError catchExceptionAsQmlError(QV4::ExecutionContext *context); + QQmlError catchExceptionAsQmlError(); private: QmlExtensions *m_qmlExtensions; |