From b943d80dd90dec1a8b7802b826ad89e924cead05 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Thu, 13 Nov 2014 12:14:09 +0100 Subject: Remove the executioncontext in a few more places where it's not needed Change-Id: I4c92c7bc9d94d8265e306f45d863fdc080a5e2a6 Reviewed-by: Simon Hausmann --- src/qml/qml/qqmljavascriptexpression_p.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/qml/qml/qqmljavascriptexpression_p.h') diff --git a/src/qml/qml/qqmljavascriptexpression_p.h b/src/qml/qml/qqmljavascriptexpression_p.h index 2c78a745fc..dc48c2458d 100644 --- a/src/qml/qml/qqmljavascriptexpression_p.h +++ b/src/qml/qml/qqmljavascriptexpression_p.h @@ -52,10 +52,6 @@ QT_BEGIN_NAMESPACE -namespace QV4 { -struct ExecutionContext; -} - class QQmlDelayedError { public: @@ -81,7 +77,7 @@ public: void setErrorObject(QObject *object); // Call only from catch(...) -- will re-throw if no JS exception - void catchJavaScriptException(QV4::ExecutionContext *context); + void catchJavaScriptException(QV4::ExecutionEngine *engine); private: -- cgit v1.2.3