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 <paul.wicking@qt.io> (cherry picked from commit d0cb3c0acdd4a482fd749684f282451bdd13557f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 4c1aef25ce7c459253904c3f23302345c0c435e6)
This commit is contained in:
parent
2c8b1dc959
commit
a53b227386
@ -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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user