diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-10-15 12:43:57 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-15 14:00:57 +0200 |
commit | 5302fea533f68abbe91ffc32ec732c11c8eef7ee (patch) | |
tree | ef083453747ddc8acf757bb1ff0a1d836eedeb51 /src/qml/qml/qqmlengine_p.h | |
parent | dfa234a60a112903995944573a7d2cf400af7f24 (diff) |
Make sure the incubated object survives the statusChanged call
QQmlComponent::statusChanged() marked the incubated object
as destructable when it was done loading. This implied
that any gc call afterwards could clean it up. To fix, push
the object on the GC stack so it lives until the method returns.
Also renamed the WrapperIncubator to QQmlComponentIncubator.
Change-Id: I5a8f478a1fd65ea73ddff310392219709a935a70
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlengine_p.h')
0 files changed, 0 insertions, 0 deletions