aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qqmlirbuilder.cpp
diff options
context:
space:
mode:
authorSemih Yavuz <semih.yavuz@qt.io>2022-10-13 10:10:53 +0200
committerSemih Yavuz <semih.yavuz@qt.io>2022-10-14 07:34:09 +0000
commit18333db9af01b5e3ffc65e1e194e47b337112987 (patch)
treeb50bef4c7966ef1c5e1689ec24cd078f060956b7 /src/qml/compiler/qqmlirbuilder.cpp
parentae49af00b59628623bc15e19974ee5af5f0121ba (diff)
QmlCompiler: early return from array bindings
List in qml should not include an object whose scope types is attached or grouped. In case an attached or grouped type is a member of a list, they don't have a separate scope, but only one scope is created per name. This causes a crash as creating bindings for array members since it is not known if any of the child scope is omitted or not. To prevent this, simply early return if any of the child scopes include an object definition that is attached object or group type. Fixes: QTBUG-107250 Change-Id: I08fdfb43d766569c4dfefc50135f98f74d25bad2 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/compiler/qqmlirbuilder.cpp')
0 files changed, 0 insertions, 0 deletions