diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-08-04 04:54:43 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-08-04 04:54:43 (GMT) |
commit | 826e1f392908b497fa254513b348614376b892a2 (patch) | |
tree | 3f2cb3929bcee3656406c9b5b4af10339397be0d /src/declarative/qml/qmlcompileddata.cpp | |
parent | 52aa98b54fd663a563d5fb4adc6230dbbbe9f311 (diff) | |
download | Qt-826e1f392908b497fa254513b348614376b892a2.zip Qt-826e1f392908b497fa254513b348614376b892a2.tar.gz Qt-826e1f392908b497fa254513b348614376b892a2.tar.bz2 |
Remove unused QmlContextPrivate member variables
Diffstat (limited to 'src/declarative/qml/qmlcompileddata.cpp')
-rw-r--r-- | src/declarative/qml/qmlcompileddata.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/declarative/qml/qmlcompileddata.cpp b/src/declarative/qml/qmlcompileddata.cpp index 0563891..ffb89b3 100644 --- a/src/declarative/qml/qmlcompileddata.cpp +++ b/src/declarative/qml/qmlcompileddata.cpp @@ -170,12 +170,7 @@ QObject *QmlCompiledData::TypeReference::createInstance(QmlContext *ctxt) const return rv; } else { Q_ASSERT(component); - QObject *rv = component->create(ctxt); - QmlContext *ctxt = qmlContext(rv); - if(ctxt) { - static_cast<QmlContextPrivate *>(QObjectPrivate::get(ctxt))->typeName = className; - } - return rv; + return component->create(ctxt); } } |