aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4compilerscanfunctions.cpp
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2023-01-05 08:54:57 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-01-06 11:23:23 +0000
commit76e81a3ba4f6d3109530328d655c117454217a2c (patch)
tree600b70f5d8a0d28685f9db1d1cf5af53bc1d6d4f /src/qml/compiler/qv4compilerscanfunctions.cpp
parentd6c0207a135b9de3ed6e193d303f273f7e057194 (diff)
Deferred properties: avoid spurious binding loop
During binding evaluation, it might happen that we do an initial read of a deferred property. If that deferred property is in turn an object property, further binding evaluations might occur. Those bindings should not depend on whatever trigerred the initial binding evaluation. However, with the new C++ properties/bindings, that would happen, as the bindingStatus would still indicate that binding evaluation is active. To remedy this, we temporarily suspend the binding status ind begin and completeDeferred. Fixes: QTBUG-96351 Change-Id: I7e9778aa5339f044ce3082e962a2ede34b5d1e69 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> (cherry picked from commit 9b1d3a86023b47f9c3bff93c1ebbe18f8c7ad657) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/qml/compiler/qv4compilerscanfunctions.cpp')
0 files changed, 0 insertions, 0 deletions