aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlpropertycache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlpropertycache.cpp')
-rw-r--r--src/qml/qml/qqmlpropertycache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlpropertycache.cpp b/src/qml/qml/qqmlpropertycache.cpp
index d047de7e0e..908ab27563 100644
--- a/src/qml/qml/qqmlpropertycache.cpp
+++ b/src/qml/qml/qqmlpropertycache.cpp
@@ -1121,8 +1121,8 @@ QString QQmlPropertyCache::signalParameterStringForJS(int index, int *count, QSt
signalData->arguments = args;
}
- QQmlRewrite::RewriteSignalHandler rewriter;
QQmlEnginePrivate *ep = QQmlEnginePrivate::get(engine);
+ QQmlRewrite::RewriteSignalHandler rewriter(ep->v4engine());
const QString &parameters = rewriter.createParameterString(parameterNameList,
ep->v8engine()->illegalNames());