diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-08-10 01:24:54 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-08-10 01:24:54 (GMT) |
commit | c5865c9a8dbd3c5be11069aff59935aa9b9a75bb (patch) | |
tree | ce75000806eed8dd8baa85ff02118712d658b50a /src/declarative/qml | |
parent | d222608c961c0b2dd5509488e5aa89864aafb675 (diff) | |
download | Qt-c5865c9a8dbd3c5be11069aff59935aa9b9a75bb.zip Qt-c5865c9a8dbd3c5be11069aff59935aa9b9a75bb.tar.gz Qt-c5865c9a8dbd3c5be11069aff59935aa9b9a75bb.tar.bz2 |
Mark synthesized properties as SCRIPTABLE
Diffstat (limited to 'src/declarative/qml')
-rw-r--r-- | src/declarative/qml/qmlcompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlcompiler.cpp b/src/declarative/qml/qmlcompiler.cpp index 6ef7cc2..1c535d4 100644 --- a/src/declarative/qml/qmlcompiler.cpp +++ b/src/declarative/qml/qmlcompiler.cpp @@ -1904,7 +1904,7 @@ bool QmlCompiler::buildDynamicMeta(QmlParser::Object *obj, DynamicMetaMode mode) dynamicData.append((char *)&propertyData, sizeof(propertyData)); builder.addSignal(p.name + "Changed()"); - builder.addProperty(p.name, type, ii); + builder.addProperty(p.name, type, ii).setScriptable(true); } if (mode == ResolveAliases) { |