diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2011-06-17 17:43:45 +1000 |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2011-06-17 17:43:45 +1000 |
commit | 1ccfc5a5760bc85712e61546b772cede54ca21cb (patch) | |
tree | ff948de8e8b849ae1c94fe4e7251d3473ec1fc04 /src/declarative/qml/qdeclarativecompiler.cpp | |
parent | 30dce0e5810cd312f9c483e13c3fc852f43b551d (diff) |
Temporarily disable shared V8 bindings
There is a bug with nested components sharing the outer components
shared binding list, which is obviously wrong.
Diffstat (limited to 'src/declarative/qml/qdeclarativecompiler.cpp')
-rw-r--r-- | src/declarative/qml/qdeclarativecompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativecompiler.cpp b/src/declarative/qml/qdeclarativecompiler.cpp index a0a6680d2e..b653d108cf 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<QDeclarativeBinding*>()) { binding.dataType = BindingReference::V8; sharedBindings.append(&iter.value()); |