diff options
author | Martin Jones <martin.jones@nokia.com> | 2011-01-05 03:57:17 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2011-01-05 03:57:17 (GMT) |
commit | ffd499eb6ff64df1833625f64dbbf92e0e0746d4 (patch) | |
tree | cb1dcd382fe2e76638cf853c96cf0316cce65636 /src/declarative/util/qdeclarativeopenmetaobject.cpp | |
parent | 3f80a24c5d375dd173d18c2a4227301f1afba2e3 (diff) | |
download | Qt-ffd499eb6ff64df1833625f64dbbf92e0e0746d4.zip Qt-ffd499eb6ff64df1833625f64dbbf92e0e0746d4.tar.gz Qt-ffd499eb6ff64df1833625f64dbbf92e0e0746d4.tar.bz2 |
Support property/method versions in QML
Use metaobject revisioning to exclude properties/revisions added in
later versions from interfering with earlier versions.
Task-number: QTBUG-13451
Reviewed-by: Aaron Kennedy
Diffstat (limited to 'src/declarative/util/qdeclarativeopenmetaobject.cpp')
-rw-r--r-- | src/declarative/util/qdeclarativeopenmetaobject.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/declarative/util/qdeclarativeopenmetaobject.cpp b/src/declarative/util/qdeclarativeopenmetaobject.cpp index c611435..1426cea 100644 --- a/src/declarative/util/qdeclarativeopenmetaobject.cpp +++ b/src/declarative/util/qdeclarativeopenmetaobject.cpp @@ -97,7 +97,6 @@ int QDeclarativeOpenMetaObjectType::createProperty(const QByteArray &name) int id = d->mob.propertyCount(); d->mob.addSignal("__" + QByteArray::number(id) + "()"); QMetaPropertyBuilder build = d->mob.addProperty(name, "QVariant", id); - build.setDynamic(true); propertyCreated(id, build); qFree(d->mem); d->mem = d->mob.toMetaObject(); |