diff options
author | Axel Spoerl <[email protected]> | 2025-02-02 15:28:42 +0100 |
---|---|---|
committer | Christian Ehrlicher <[email protected]> | 2025-02-18 21:43:55 +0000 |
commit | d0cb3c0acdd4a482fd749684f282451bdd13557f (patch) | |
tree | 96e1fa598f8daf98bb23c68084754b03986c3d70 | |
parent | 3336422289079b421797ac2d194241976929c7d8 (diff) |
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 <[email protected]>
-rw-r--r-- | examples/widgets/doc/src/editabletreemodel.qdoc | 2 |
1 files changed, 1 insertions, 1 deletions
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: |