Correct childNumber() reference in editable tree model example

childNumber() has been renamed to row() in the code, but not in
the documentation.
Correct it.

Pick-to: 6.9 6.8 6.5
Change-Id: Ibe6f1f27c0dd1982ff663dc680738babf2db87d7
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
Axel Spoerl 2025-02-02 15:28:42 +01:00 committed by Christian Ehrlicher
parent 3336422289
commit d0cb3c0acd

View File

@ -249,7 +249,7 @@
\snippet itemviews/editabletreemodel/treeitem.cpp 2
The \c childNumber() function is used to determine the index of the child
The \c row() function is used to determine the index of the child
in its parent's list of children. It accesses the parent's \c childItems
member directly to obtain this information: