From a6eac7e299016c9ee8742abffd780683adac3066 Mon Sep 17 00:00:00 2001 From: Robin Burchell Date: Mon, 22 May 2017 11:00:52 +0200 Subject: Repeater: Clarify documentation a little Change-Id: I4544dafd4d641728394de9a97e7ae9dd029e91a4 Task-number: QTBUG-57155 Reviewed-by: Shawn Rutledge --- src/quick/items/qquickrepeater.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/quick/items') diff --git a/src/quick/items/qquickrepeater.cpp b/src/quick/items/qquickrepeater.cpp index 9ad7d27b18..6fc4c0553a 100644 --- a/src/quick/items/qquickrepeater.cpp +++ b/src/quick/items/qquickrepeater.cpp @@ -314,7 +314,11 @@ void QQuickRepeater::setDelegate(QQmlComponent *delegate) /*! \qmlproperty int QtQuick::Repeater::count - This property holds the number of items in the repeater. + This property holds the number of items in the model. + + \note The number of items in the model as reported by count may differ from + the number of created delegates if the Repeater is in the process of + instantiating delegates or is incorrectly set up. */ int QQuickRepeater::count() const { -- cgit v1.2.3