aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/doc/snippets/qml
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2025-01-09 11:31:18 +0100
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2025-01-09 19:20:40 +0100
commit8212fe7827529207836a2d6f171790a8d886803f (patch)
tree7d3b0b0a2b1071fea0988efcc51fcaa8a4d67071 /src/quick/doc/snippets/qml
parentf3a6026d11c9d7e9ec839aa2467364f09e35a025 (diff)
TreeViewDelegate: hasChildren should be bool, not int
The documentation and the manual test declares 'hasChildren' as 'int'. It should be 'bool'. Pick-to: 6.9 6.8 Change-Id: Ied8c66f3758e759b5803cf0e08135555644747b8 Reviewed-by: Matthias Rauter <matthias.rauter@qt.io>
Diffstat (limited to 'src/quick/doc/snippets/qml')
-rw-r--r--src/quick/doc/snippets/qml/treeview/qml-customdelegate.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/doc/snippets/qml/treeview/qml-customdelegate.qml b/src/quick/doc/snippets/qml/treeview/qml-customdelegate.qml
index 49483af572..1d115520fe 100644
--- a/src/quick/doc/snippets/qml/treeview/qml-customdelegate.qml
+++ b/src/quick/doc/snippets/qml/treeview/qml-customdelegate.qml
@@ -32,7 +32,7 @@ ApplicationWindow {
required property TreeView treeView
required property bool isTreeNode
required property bool expanded
- required property int hasChildren
+ required property bool hasChildren
required property int depth
required property int row
required property int column