From 06eaeb0ac8d861cf3e60b11a8fbbabdeef1d6759 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 1 Jul 2013 08:48:41 +0200 Subject: Get rid of the signal expression rewriter This replaces the entire rewriter with more or less: expressionToEval = "(function() { " + expr + " } )" This also fixes crashes at run-time when the signal rewriter was executed from the loader thread and tried to use a v4 identifier hash with the same engine that's also in the main thread. Change-Id: Ib1e4927d330706a593411fbff64ed3da1e23d0e0 Reviewed-by: Lars Knoll --- src/qml/qml/qqmlcustomparser.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/qml/qml/qqmlcustomparser.cpp') diff --git a/src/qml/qml/qqmlcustomparser.cpp b/src/qml/qml/qqmlcustomparser.cpp index 3787c34ac6..eba2e14e51 100644 --- a/src/qml/qml/qqmlcustomparser.cpp +++ b/src/qml/qml/qqmlcustomparser.cpp @@ -317,13 +317,4 @@ QQmlBinding::Identifier QQmlCustomParser::bindingIdentifier(const QQmlScript::Va return compiler->bindingIdentifier(value); } -/*! - Returns a rewritten \a handler. \a name - is used as the name of the rewritten function. -*/ -QString QQmlCustomParser::rewriteSignalHandler(const QQmlScript::Variant &value, const QString &name) -{ - return compiler->rewriteSignalHandler(value , name); -} - QT_END_NAMESPACE -- cgit v1.2.3