diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2016-06-06 12:39:38 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-06-07 03:31:56 +0000 |
commit | 921c1e0e4f6f00f449136f116c6fc5f55fbf1df6 (patch) | |
tree | 3e2675db2f393bb1b70680ef1d618d4894cdcedb /src/qml/qml/qqmltypeloader_p.h | |
parent | ffce29dc2036f26dff8142978cb4e86e869cd38f (diff) |
Another manual refcounting cleanup
There is little reason to use manual reference counting for an encapsulated
member.
Change-Id: I024a6ff700872da6837954a5167e502487e9b12c
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/qml/qqmltypeloader_p.h')
-rw-r--r-- | src/qml/qml/qqmltypeloader_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmltypeloader_p.h b/src/qml/qml/qqmltypeloader_p.h index 7d54b9bdd1..baea9dbd0a 100644 --- a/src/qml/qml/qqmltypeloader_p.h +++ b/src/qml/qml/qqmltypeloader_p.h @@ -467,7 +467,7 @@ private: QHash<int, TypeReference> m_resolvedTypes; bool m_typesResolved:1; - QV4::CompiledData::CompilationUnit *m_compiledData; + QQmlRefPointer<QV4::CompiledData::CompilationUnit> m_compiledData; QList<TypeDataCallback *> m_callbacks; |