aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlcomponent.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2019-08-15 11:55:49 +0200
committerUlf Hermann <ulf.hermann@qt.io>2019-10-16 11:47:08 +0200
commit3f96bf1f43252daf26ed61df2b3456f2dc81183b (patch)
treee09fbef79dea82d76226b485b84c304482a2e427 /src/qml/qml/qqmlcomponent.cpp
parent67481cae7e1aa6e560eaca94bfa5c14bfa8edc25 (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.cpp1
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;
}