aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndrei Golubev <andrei.golubev@qt.io>2022-07-22 16:32:18 +0200
committerAndrei Golubev <andrei.golubev@qt.io>2022-07-29 15:22:49 +0200
commit4580f49fb9867fd0f6cf597a45fbe74b0f5d6a48 (patch)
tree27d7b50fa31a061857c0dcdda5a91a912075843f /tests
parent91ce865050b9e017e63ae5b0c54e2d385705d155 (diff)
qmltc: Acknowledge group/attached properties have objects in QmlIR
Group and attached properties have QmlIR::Objects associated with them. However, qmltc's object index calculation ignores groups/attached types. Fix this, making object index calculation aligned for implicit components Fixes: QTBUG-104780 Change-Id: I377d3eab714d0e9618ac2ef84c2738b45ad3b6cc Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 2f4935289e99cd5f174316ceb82032d62292bd46) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qml/qmltc/QmltcTests/delegate_context.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qmltc/QmltcTests/delegate_context.qml b/tests/auto/qml/qmltc/QmltcTests/delegate_context.qml
index 8dfcbb24b4..33937f48e2 100644
--- a/tests/auto/qml/qmltc/QmltcTests/delegate_context.qml
+++ b/tests/auto/qml/qmltc/QmltcTests/delegate_context.qml
@@ -7,6 +7,7 @@ Text {
ListView {
id: listView
model: 1
+ anchors.fill: parent // QTBUG-104780
delegate: Text { // QV4::CompiledData::Object::IsComponent
id: listViewDelegate