summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativebinding.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-02-25 05:45:44 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-02-25 05:45:44 (GMT)
commitd022acd47350f61d3959b076d7bc92df86015b16 (patch)
tree7bb53c1c159545b2962413a9de914bfcc2475500 /src/declarative/qml/qdeclarativebinding.cpp
parentf29a6c8b9fbeb899997c1e4cc2a4be009a231502 (diff)
downloadQt-d022acd47350f61d3959b076d7bc92df86015b16.zip
Qt-d022acd47350f61d3959b076d7bc92df86015b16.tar.gz
Qt-d022acd47350f61d3959b076d7bc92df86015b16.tar.bz2
Tweak QDeclarativeMetaProperty type category API
Diffstat (limited to 'src/declarative/qml/qdeclarativebinding.cpp')
-rw-r--r--src/declarative/qml/qdeclarativebinding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativebinding.cpp b/src/declarative/qml/qdeclarativebinding.cpp
index 5ac5701..bde01ae 100644
--- a/src/declarative/qml/qdeclarativebinding.cpp
+++ b/src/declarative/qml/qdeclarativebinding.cpp
@@ -128,7 +128,7 @@ void QDeclarativeBinding::update(QDeclarativeMetaProperty::WriteFlags flags)
if (!data->updating) {
data->updating = true;
- if (data->property.propertyCategory() == QDeclarativeMetaProperty::Bindable) {
+ if (data->property.propertyType() == qMetaTypeId<QDeclarativeBinding *>()) {
int idx = data->property.coreIndex();
Q_ASSERT(idx != -1);