aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlincubator_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2022-05-13 16:40:11 +0200
committerUlf Hermann <ulf.hermann@qt.io>2022-05-17 09:38:30 +0200
commit04f9219a388ce1f2e2f7d4a1f94e055ce42a22e7 (patch)
tree72291099370eee1553de74e96bb67d1fbf1a1116 /src/qml/qml/qqmlincubator_p.h
parent2ebee301fd6629f2d5c604fd021c61c15692775f (diff)
QQmlDelegateModel: Consider only top level required properties
Required properties deeper inside the delegate must not suppress the passing of model data via the context. Fixes: QTBUG-103479 Change-Id: I2d350d93633a87b90e7a7d08b1e26a06a966b24a Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlincubator_p.h')
-rw-r--r--src/qml/qml/qqmlincubator_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlincubator_p.h b/src/qml/qml/qqmlincubator_p.h
index b178c6aa29..0d91e63f17 100644
--- a/src/qml/qml/qqmlincubator_p.h
+++ b/src/qml/qml/qqmlincubator_p.h
@@ -106,7 +106,7 @@ public:
void forceCompletion(QQmlInstantiationInterrupt &i);
void incubate(QQmlInstantiationInterrupt &i);
RequiredProperties &requiredProperties();
- bool hadRequiredProperties() const;
+ bool hadTopLevelRequiredProperties() const;
};
QT_END_NAMESPACE