aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/ListProperty.qml
diff options
context:
space:
mode:
authorEvgeniy A. Dushistov <dushistov@mail.ru>2020-06-17 23:39:28 +0300
committerEvgeniy A. Dushistov <dushistov@mail.ru>2020-06-18 11:21:18 +0300
commitb916c1bffdd4bcaaa6d4d75d2a9efa34a485cff5 (patch)
treede9498b87eb4bdb2156507b126079f627819fc45 /tests/auto/qml/qmllint/data/ListProperty.qml
parente8d9bc1bcada7d94af5a33d64a9afc860ede5b84 (diff)
qmllint: high level item can also be list
Fixes: QTBUG-84300 Change-Id: I1a9db060cdeb7c4ec10deedab5141a06245a55b2 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmllint/data/ListProperty.qml')
-rw-r--r--tests/auto/qml/qmllint/data/ListProperty.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/ListProperty.qml b/tests/auto/qml/qmllint/data/ListProperty.qml
new file mode 100644
index 0000000000..d2bbc58cc5
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/ListProperty.qml
@@ -0,0 +1,6 @@
+import QtQuick 2.12
+import Things 1.0
+
+Frame {
+ contentWidth: contentChildren.length === 1 ? contentChildren[0].implicitWidth : 0
+}