summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qdeclarativeopenmetaobject.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2011-01-05 03:57:17 (GMT)
committerMartin Jones <martin.jones@nokia.com>2011-01-05 03:57:17 (GMT)
commitffd499eb6ff64df1833625f64dbbf92e0e0746d4 (patch)
treecb1dcd382fe2e76638cf853c96cf0316cce65636 /src/declarative/util/qdeclarativeopenmetaobject.cpp
parent3f80a24c5d375dd173d18c2a4227301f1afba2e3 (diff)
downloadQt-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.cpp1
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();