summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecomponent.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-12-01 07:36:41 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-12-01 07:36:41 (GMT)
commita305814f8f59f634943d8d5f8d87d2fd49891cb3 (patch)
tree42ed4e6afecbf36af2750e2eeaed87117ab942a6 /src/declarative/qml/qdeclarativecomponent.cpp
parent6258fc281f5b66b2634b81a2633b117165cea7ef (diff)
parent1337a3e031477aa4d628d01252557dee622629ff (diff)
downloadQt-a305814f8f59f634943d8d5f8d87d2fd49891cb3.zip
Qt-a305814f8f59f634943d8d5f8d87d2fd49891cb3.tar.gz
Qt-a305814f8f59f634943d8d5f8d87d2fd49891cb3.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11
Diffstat (limited to 'src/declarative/qml/qdeclarativecomponent.cpp')
-rw-r--r--src/declarative/qml/qdeclarativecomponent.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativecomponent.cpp b/src/declarative/qml/qdeclarativecomponent.cpp
index 5be41ab..a72e04e 100644
--- a/src/declarative/qml/qdeclarativecomponent.cpp
+++ b/src/declarative/qml/qdeclarativecomponent.cpp
@@ -878,9 +878,12 @@ void QDeclarativeComponentPrivate::complete(QDeclarativeEnginePrivate *enginePri
QDeclarativeEnginePrivate::SimpleList<QDeclarativeAbstractBinding> bv =
state->bindValues.at(ii);
for (int jj = 0; jj < bv.count; ++jj) {
- if(bv.at(jj))
+ if(bv.at(jj)) {
+ // XXX akennedy
+ bv.at(jj)->m_mePtr = 0;
bv.at(jj)->setEnabled(true, QDeclarativePropertyPrivate::BypassInterceptor |
QDeclarativePropertyPrivate::DontRemoveBinding);
+ }
}
QDeclarativeEnginePrivate::clear(bv);
}