diff options
author | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2016-05-29 18:42:28 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-05-31 06:55:07 +0000 |
commit | 77773997d085e83c811fe1e312f0402b932a56ac (patch) | |
tree | 5e511b9b1c315116a3cbcc02a499c415862ab461 /src/qml/qml/qqmlcompileddata.cpp | |
parent | 3241573e1a72f2829d1339cd5bbe62f30d93c37f (diff) |
Moved the import cache from QQmlCompiledData to CompilationUnit
Change-Id: I77892919678cb01ba1e697a44122760679a72045
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlcompileddata.cpp')
-rw-r--r-- | src/qml/qml/qqmlcompileddata.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/qml/qml/qqmlcompileddata.cpp b/src/qml/qml/qqmlcompileddata.cpp index 0305f3605f..569d3e16c4 100644 --- a/src/qml/qml/qqmlcompileddata.cpp +++ b/src/qml/qml/qqmlcompileddata.cpp @@ -55,7 +55,7 @@ QT_BEGIN_NAMESPACE QQmlCompiledData::QQmlCompiledData(QQmlEngine *engine) -: engine(engine), importCache(0), metaTypeId(-1), listMetaTypeId(-1), isRegisteredWithEngine(false), +: engine(engine), metaTypeId(-1), listMetaTypeId(-1), isRegisteredWithEngine(false), totalBindingsCount(0), totalParserStatusCount(0) { Q_ASSERT(engine); @@ -88,9 +88,6 @@ QQmlCompiledData::~QQmlCompiledData() for (int ii = 0; ii < scripts.count(); ++ii) scripts.at(ii)->release(); - - if (importCache) - importCache->release(); } void QQmlCompiledData::clear() |