aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4runtime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4runtime.cpp')
-rw-r--r--src/qml/jsruntime/qv4runtime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4runtime.cpp b/src/qml/jsruntime/qv4runtime.cpp
index 57a6524515..db82efa087 100644
--- a/src/qml/jsruntime/qv4runtime.cpp
+++ b/src/qml/jsruntime/qv4runtime.cpp
@@ -1133,7 +1133,7 @@ void Runtime::pushCatchScope(NoThrowEngine *engine, String *exceptionVarName)
{
Scope scope(engine);
ScopedValue v(scope, engine->catchException(engine->currentContext(), 0));
- engine->currentContext()->newCatchContext(exceptionVarName, v)->getPointer();
+ engine->currentContext()->newCatchContext(exceptionVarName, v);
}
void Runtime::popScope(ExecutionEngine *engine)