summaryrefslogtreecommitdiffstats
path: root/src/gui/itemmodels
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2021-11-12 12:26:50 +0100
committerhjk <hjk@qt.io>2021-11-15 13:46:46 +0000
commit2fa29b00ca4a3260063869cdd345234acbeb4922 (patch)
tree2832c126983b734b1cd4ccd09efe2bc0c8887bd4 /src/gui/itemmodels
parent65d553ce522fa7fd906404f3259550a378603ad7 (diff)
Fix return type documentation of QFileSystemModel::fileName()
Pick-to: 6.2 Pick-to: 5.15 Change-Id: I5de4214766eccd5b0086d1230b4267fb49e1b58f Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/gui/itemmodels')
-rw-r--r--src/gui/itemmodels/qfilesystemmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/itemmodels/qfilesystemmodel.cpp b/src/gui/itemmodels/qfilesystemmodel.cpp
index db5a9ea262..0ee97d06be 100644
--- a/src/gui/itemmodels/qfilesystemmodel.cpp
+++ b/src/gui/itemmodels/qfilesystemmodel.cpp
@@ -142,7 +142,7 @@ QT_BEGIN_NAMESPACE
*/
/*!
- \fn QIcon QFileSystemModel::fileName(const QModelIndex &index) const
+ \fn QString QFileSystemModel::fileName(const QModelIndex &index) const
Returns the file name for the item stored in the model under the given
\a index.