diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2014-02-10 20:12:18 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-16 22:08:40 +0100 |
commit | ee33a9551e87a5ddb49c070afd68d967af3d5c3d (patch) | |
tree | 36e198c33186e87b9859c4f8b162089848f04643 /src/qml/qml/qqmlcomponent.cpp | |
parent | 6539a4c99d042a72db78b30e47e6cc1acd35f856 (diff) |
[new compiler] Cleanup object creator members
Collect variables shared across recursive instances in a SharedData
structure, get rid of some other members.
Change-Id: I8d52fbb34820ce17d754b91c3fdee9e534a95753
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlcomponent.cpp')
-rw-r--r-- | src/qml/qml/qqmlcomponent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlcomponent.cpp b/src/qml/qml/qqmlcomponent.cpp index 6abf805a4a..b3d02cdc6d 100644 --- a/src/qml/qml/qqmlcomponent.cpp +++ b/src/qml/qml/qqmlcomponent.cpp @@ -992,7 +992,7 @@ QQmlComponentAttached *QQmlComponent::qmlAttachedProperties(QObject *obj) if (p->activeVME) { // XXX should only be allowed during begin a->add(&p->activeVME->componentAttached); } else if (p->activeObjectCreator) { - a->add(p->activeObjectCreator->componentAttached); + a->add(p->activeObjectCreator->componentAttachment()); } else { QQmlData *d = QQmlData::get(obj); Q_ASSERT(d); |