summaryrefslogtreecommitdiff
path: root/src/qml/compiler/qv4bytecodegenerator.cpp
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2021-10-14 17:00:41 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2021-10-18 12:39:29 +0200
commit785addcd17c7988be90a2ca17599c12b07e4e170 (patch)
tree939b83778a8508f27e880a0b48b34bfee1ca9d61 /src/qml/compiler/qv4bytecodegenerator.cpp
parent728cc261a0cd644760d217b9ea22dce9f00676c9 (diff)
downloadqtdeclarative-785addcd17c7988be90a2ca17599c12b07e4e170.tar.gz
ParentChange: handle bindable properties
QQuickParentChange::actions was unable to handle new style properties. Fix this by using a QQmlAnyBinding create function instead of QQmlBinding. This required adding the necessary support for creation from a QQmlScriptString to QQmlProperyBinding and QQmlAnyBinding. Extra care had to be taken in reverseRewindHelper, which assumed that setting x/y/width/height would keep binding intact. We therefore use setValueBypassingBindings instead of the plain setter. Fixes: QTBUG-97480 Pick-to: 6.2 6.2.1 Change-Id: I0cc6d61c655d9d37846adf4b09fe103f507bb329 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4bytecodegenerator.cpp')
0 files changed, 0 insertions, 0 deletions