diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2019-08-15 11:55:49 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2019-10-16 11:47:08 +0200 |
commit | 3f96bf1f43252daf26ed61df2b3456f2dc81183b (patch) | |
tree | e09fbef79dea82d76226b485b84c304482a2e427 /src/qml/qml/qqmlcomponent.cpp | |
parent | 67481cae7e1aa6e560eaca94bfa5c14bfa8edc25 (diff) |
QQmlObjectCreator: Unify deferred setup of bindings
Change-Id: I5e9ff550aa2875f41dbea797d814e1f0044ebd63
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
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 f03f90e7f3..1d5f974d5c 100644 --- a/src/qml/qml/qqmlcomponent.cpp +++ b/src/qml/qml/qqmlcomponent.cpp @@ -969,6 +969,7 @@ void QQmlComponentPrivate::beginDeferred(QQmlEnginePrivate *enginePriv, if (!state->creator->populateDeferredProperties(object, deferredData)) state->errors << state->creator->errors; + deferredData->bindings.clear(); deferredState->constructionStates += state; } |