diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-12-10 04:29:56 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-12-10 04:29:56 (GMT) |
commit | d3cd891de3ce28a19b9238d46c5462f7f1da1358 (patch) | |
tree | cdbaa1b4f4dbe5805c22fd8eb66d23dfd69a40b8 /src/declarative | |
parent | a02104fec44e2ea1953f73881d4d6c6cf12974e4 (diff) | |
download | Qt-d3cd891de3ce28a19b9238d46c5462f7f1da1358.zip Qt-d3cd891de3ce28a19b9238d46c5462f7f1da1358.tar.gz Qt-d3cd891de3ce28a19b9238d46c5462f7f1da1358.tar.bz2 |
Disable shared dynamic metaobjects for now.
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/util/qmlopenmetaobject.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/util/qmlopenmetaobject.cpp b/src/declarative/util/qmlopenmetaobject.cpp index 473d9d9..1b2c2bd 100644 --- a/src/declarative/util/qmlopenmetaobject.cpp +++ b/src/declarative/util/qmlopenmetaobject.cpp @@ -145,7 +145,9 @@ QmlOpenMetaObject::QmlOpenMetaObject(QObject *obj, QmlOpenMetaObjectType *type, d->autoCreate = automatic; d->object = obj; - d->type = type; +// d->type = type; + d->type = new QmlOpenMetaObjectType(0); + d->ownType = true; d->type->d->init(obj); QObjectPrivate *op = QObjectPrivate::get(obj); |