diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2023-05-09 09:56:06 +0200 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2023-05-09 21:28:07 +0200 |
commit | 57e272fbd2bb4af083c640e8721e5ecbe869e384 (patch) | |
tree | 6ec73c436f073657748fc4d27fdbe9feb676d1cc /tests/auto/quickcontrols/qquickmaterialstyle/data/tst_material.qml | |
parent | 71b4a5e6dfe07fe30c59b3e84c9db27f443a7b92 (diff) | |
download | qtdeclarative-57e272fbd2bb4af083c640e8721e5ecbe869e384.tar.gz |
Value types: Prefer assigning bindings instead of converting
When we're assigning a QJSValue to a value type property, we must first
check whether it is a binding created by Qt.binding. In that case, we
should directly set that binding up. Going through the conversion code
path might not necessarily fail, but might instead yield nonsense.
Pick-to: 6.5
Fixes: QTBUG-113472
Change-Id: If91e0843f0caf36c96b4c811b9ce8076adfc984f
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/quickcontrols/qquickmaterialstyle/data/tst_material.qml')
0 files changed, 0 insertions, 0 deletions