summaryrefslogtreecommitdiffstats
path: root/src/declarative/util
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-12-10 04:29:56 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-12-10 04:29:56 (GMT)
commitd3cd891de3ce28a19b9238d46c5462f7f1da1358 (patch)
treecdbaa1b4f4dbe5805c22fd8eb66d23dfd69a40b8 /src/declarative/util
parenta02104fec44e2ea1953f73881d4d6c6cf12974e4 (diff)
downloadQt-d3cd891de3ce28a19b9238d46c5462f7f1da1358.zip
Qt-d3cd891de3ce28a19b9238d46c5462f7f1da1358.tar.gz
Qt-d3cd891de3ce28a19b9238d46c5462f7f1da1358.tar.bz2
Disable shared dynamic metaobjects for now.
Diffstat (limited to 'src/declarative/util')
-rw-r--r--src/declarative/util/qmlopenmetaobject.cpp4
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);