summaryrefslogtreecommitdiffstats
path: root/src/widgets/itemviews
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-04-12 13:25:38 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-04-13 10:48:08 +0200
commit5b94f8874721014a784fd79fcd5e5ea2ba4d28cc (patch)
treeeb6972b3a9671fce8af6a3e871b980becc85c5b1 /src/widgets/itemviews
parent2cc458abfb2ab252d34bbdedcecf73ebd19335e5 (diff)
Document parameter correctly, fix qdoc warning
Not needed in 6.1, the method is still (incorrectly) marked as \internal there. Change-Id: Idf1d924d8d320eca2388dbd28006eeaf9efedc3a Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Nico Vertriest <nico.vertriest@qt.io>
Diffstat (limited to 'src/widgets/itemviews')
-rw-r--r--src/widgets/itemviews/qtableview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/itemviews/qtableview.cpp b/src/widgets/itemviews/qtableview.cpp
index 4dcd92f29f..b261ee837d 100644
--- a/src/widgets/itemviews/qtableview.cpp
+++ b/src/widgets/itemviews/qtableview.cpp
@@ -2844,7 +2844,7 @@ QRect QTableView::visualRect(const QModelIndex &index) const
/*!
\reimp
- Makes sure that the given \a item is visible in the table view,
+ Makes sure that the given \a index is visible in the table view,
scrolling if necessary.
*/
void QTableView::scrollTo(const QModelIndex &index, ScrollHint hint)