aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlpropertycache.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-06-27 22:43:47 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-06-28 14:56:26 +0200
commitb83abcb398c2c449bfa4ada2172e890b56b8602c (patch)
tree19f4f6ed3af874dc0b539fc04f1a17b70fe40a75 /src/qml/qml/qqmlpropertycache.cpp
parentde7d66ba0295eba73d509e671fdda69a9bef39a6 (diff)
Convert QV8Engine::illegalNames() to use the identifier hash
Change-Id: I436c2a17e417cb311f10290a4cc6e5b728b4b7be Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
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());