summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmetaobjectbuilder.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-08-31 17:37:30 +1000
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-08-31 17:37:30 +1000
commiteb0307cac2f6c35094ffcf7de782881cb440cf2f (patch)
tree95dc6c5441111dda2987cd296fe2a65ed19ee4fd /src/declarative/qml/qmetaobjectbuilder.cpp
parent6a40104d587211dc740232fed908e29f0b58e2d9 (diff)
Ignore non-scriptable properties in QML
Diffstat (limited to 'src/declarative/qml/qmetaobjectbuilder.cpp')
-rw-r--r--src/declarative/qml/qmetaobjectbuilder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qmetaobjectbuilder.cpp b/src/declarative/qml/qmetaobjectbuilder.cpp
index 095424846b..58f8811567 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()
*/