diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-08-31 07:37:30 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-08-31 07:37:30 (GMT) |
commit | eb0307cac2f6c35094ffcf7de782881cb440cf2f (patch) | |
tree | 95dc6c5441111dda2987cd296fe2a65ed19ee4fd /src/declarative/qml/qmetaobjectbuilder.cpp | |
parent | 6a40104d587211dc740232fed908e29f0b58e2d9 (diff) | |
download | Qt-eb0307cac2f6c35094ffcf7de782881cb440cf2f.zip Qt-eb0307cac2f6c35094ffcf7de782881cb440cf2f.tar.gz Qt-eb0307cac2f6c35094ffcf7de782881cb440cf2f.tar.bz2 |
Ignore non-scriptable properties in QML
QTBUG-13043
Diffstat (limited to 'src/declarative/qml/qmetaobjectbuilder.cpp')
-rw-r--r-- | src/declarative/qml/qmetaobjectbuilder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qmetaobjectbuilder.cpp b/src/declarative/qml/qmetaobjectbuilder.cpp index 0954248..58f8811 100644 --- a/src/declarative/qml/qmetaobjectbuilder.cpp +++ b/src/declarative/qml/qmetaobjectbuilder.cpp @@ -205,7 +205,7 @@ public: (const QByteArray& _name, const QByteArray& _type, int notifierIdx=-1) : name(_name), type(QMetaObject::normalizedType(_type.constData())), - flags(Readable | Writable), notifySignal(-1) + flags(Readable | Writable | Scriptable), notifySignal(-1) { if (notifierIdx >= 0) { flags |= Notify; @@ -2187,7 +2187,7 @@ bool QMetaPropertyBuilder::isDesignable() const /*! Returns true if the property is scriptable; otherwise returns false. - This default value is false. + This default value is true. \sa setScriptable(), isDesignable(), isStored() */ |