From: Aaron Kennedy Date: Fri, 17 Jun 2011 07:43:45 +0000 (+1000) Subject: Temporarily disable shared V8 bindings X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=1ccfc5a5760bc85712e61546b772cede54ca21cb;p=konrad%2Fqtdeclarative.git Temporarily disable shared V8 bindings There is a bug with nested components sharing the outer components shared binding list, which is obviously wrong. --- diff --git a/src/declarative/qml/qdeclarativecompiler.cpp b/src/declarative/qml/qdeclarativecompiler.cpp index a0a6680..b653d10 100644 --- a/src/declarative/qml/qdeclarativecompiler.cpp +++ b/src/declarative/qml/qdeclarativecompiler.cpp @@ -2973,7 +2973,7 @@ bool QDeclarativeCompiler::completeComponentBuild() bool isSharable = false; binding.rewrittenExpression = rewriteBinding(binding.expression.asAST(), expression, &isSharable); - if (isSharable && !binding.property->isAlias /* See above re alias */ && + if (0 && isSharable && !binding.property->isAlias /* See above re alias */ && binding.property->type != qMetaTypeId()) { binding.dataType = BindingReference::V8; sharedBindings.append(&iter.value());