From a53b2273863ed7c81df6dd3afb8814fb975d00af 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.5 Change-Id: Ibe6f1f27c0dd1982ff663dc680738babf2db87d7 Reviewed-by: Paul Wicking (cherry picked from commit d0cb3c0acdd4a482fd749684f282451bdd13557f) Reviewed-by: Qt Cherry-pick Bot (cherry picked from commit 4c1aef25ce7c459253904c3f23302345c0c435e6) --- 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: