diff options
author | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2016-06-01 08:25:19 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-06-01 10:35:08 +0000 |
commit | 795a1bf1171f2bd8288ced2a2c46590eff32073d (patch) | |
tree | e2f05a3a269344706f0b283b9605e869549de3a9 /src/qml/qml/qqmlcomponent.cpp | |
parent | 89aa39faf2f44120eb8e22a3f1342e9287ce7305 (diff) |
Remove "external" usages of QQmlCompiledData::engine
This removes the last "user" of QQmlCompiledData apart from its circular usage.
Change-Id: I5383c9e7bba03617a1145cd43f52051848962013
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlcomponent.cpp')
-rw-r--r-- | src/qml/qml/qqmlcomponent.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlcomponent.cpp b/src/qml/qml/qqmlcomponent.cpp index eb4f590222..16c41a8950 100644 --- a/src/qml/qml/qqmlcomponent.cpp +++ b/src/qml/qml/qqmlcomponent.cpp @@ -1051,6 +1051,7 @@ void QQmlComponent::create(QQmlIncubator &incubator, QQmlContext *context, p->compiledData = d->cc; p->compiledData->addref(); + p->enginePriv = enginePriv; p->creator.reset(new QQmlObjectCreator(contextData, d->cc, d->creationContext, p.data())); p->subComponentToCreate = d->start; |