From 04a155dba4ac2c905eb6b6f9920dbc45012f3c68 Mon Sep 17 00:00:00 2001 From: Richard Moe Gustavsen Date: Thu, 22 Dec 2022 12:07:12 +0100 Subject: [PATCH] doc, QQuickTreeView: hasChildren should be bool, not int This patch corrects the type in the documentation. Pick-to: 6.5 6.4 Change-Id: I9a3114fb3a1b2f72efc73ec471d6c49cafe08701 Reviewed-by: Mitch Curtis --- src/quick/items/qquicktreeview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quick/items/qquicktreeview.cpp b/src/quick/items/qquicktreeview.cpp index 7968221ca7..e73eb459d4 100644 --- a/src/quick/items/qquicktreeview.cpp +++ b/src/quick/items/qquicktreeview.cpp @@ -68,7 +68,7 @@ \li \c {required property bool expanded} - Is \c true if the model item drawn by the delegate is expanded in the view. - \li \c {required property int hasChildren} + \li \c {required property bool hasChildren} - Is \c true if the model item drawn by the delegate has children in the model. \li \c {required property int depth}