From 68a2c152e6c13d63bc77309bebb5cac260937e68 Mon Sep 17 00:00:00 2001 From: Michael Brasser Date: Fri, 4 Sep 2009 11:59:37 +1000 Subject: Remove outdated comment. --- src/declarative/qml/qmlmetaproperty.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/declarative/qml/qmlmetaproperty.cpp b/src/declarative/qml/qmlmetaproperty.cpp index be02bcb..f9b222f 100644 --- a/src/declarative/qml/qmlmetaproperty.cpp +++ b/src/declarative/qml/qmlmetaproperty.cpp @@ -532,7 +532,7 @@ QmlAbstractBinding *QmlMetaProperty::binding() const QmlAbstractBinding *binding = data->bindings; while (binding) { // ### This wont work for value types - if (binding->propertyIndex() == d->coreIdx) //### should we check for enabled? + if (binding->propertyIndex() == d->coreIdx) return binding; binding = binding->m_nextBinding; } -- cgit v0.12