diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-08-31 01:27:31 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-08-31 01:27:31 (GMT) |
commit | 3bc3ae40cf510c6d405a4bb37406db02e5a21386 (patch) | |
tree | 389cc0a9d7cc94128b7010ab783489795dd2820f /src/declarative/qml/qmlmetaproperty.cpp | |
parent | 9dade8d2e57655019ed4dc2fcdc4e226401138a2 (diff) | |
download | Qt-3bc3ae40cf510c6d405a4bb37406db02e5a21386.zip Qt-3bc3ae40cf510c6d405a4bb37406db02e5a21386.tar.gz Qt-3bc3ae40cf510c6d405a4bb37406db02e5a21386.tar.bz2 |
Support overriding signal handlers in a state change.
Diffstat (limited to 'src/declarative/qml/qmlmetaproperty.cpp')
-rw-r--r-- | src/declarative/qml/qmlmetaproperty.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlmetaproperty.cpp b/src/declarative/qml/qmlmetaproperty.cpp index 1e8ce91..be02bcb 100644 --- a/src/declarative/qml/qmlmetaproperty.cpp +++ b/src/declarative/qml/qmlmetaproperty.cpp @@ -450,10 +450,10 @@ bool QmlMetaProperty::isWritable() const { if (propertyCategory() == List || propertyCategory() == QmlList) return true; - else if (!d->name.isEmpty() && d->object) - return d->object->metaObject()->property(d->coreIdx).isWritable(); else if (type() & SignalProperty) return true; + else if (!d->name.isEmpty() && d->object) + return d->object->metaObject()->property(d->coreIdx).isWritable(); else return false; } |