summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcomponent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qmlcomponent.cpp')
-rw-r--r--src/declarative/qml/qmlcomponent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlcomponent.cpp b/src/declarative/qml/qmlcomponent.cpp
index d4e383d..c30efca 100644
--- a/src/declarative/qml/qmlcomponent.cpp
+++ b/src/declarative/qml/qmlcomponent.cpp
@@ -533,11 +533,11 @@ void QmlComponent::completeCreate()
QFxPerfTimer<QFxPerf::BindInit> bi;
#endif
for (int ii = 0; ii < d->bindValues.count(); ++ii) {
- QmlEnginePrivate::SimpleList<QmlBinding> bv =
+ QmlEnginePrivate::SimpleList<QmlAbstractBinding> bv =
d->bindValues.at(ii);
for (int jj = 0; jj < bv.count; ++jj) {
if(bv.at(jj))
- bv.at(jj)->init();
+ bv.at(jj)->setEnabled(true);
}
QmlEnginePrivate::clear(bv);
}