From d0cb3c0acdd4a482fd749684f282451bdd13557f Mon Sep 17 00:00:00 2001 From: Axel Spoerl Date: Sun, 2 Feb 2025 15:28:42 +0100 Subject: [PATCH] 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 --- examples/widgets/doc/src/editabletreemodel.qdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/widgets/doc/src/editabletreemodel.qdoc b/examples/widgets/doc/src/editabletreemodel.qdoc index 15df678c878..20136a02f8c 100644 --- a/examples/widgets/doc/src/editabletreemodel.qdoc +++ b/examples/widgets/doc/src/editabletreemodel.qdoc @@ -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: