summaryrefslogtreecommitdiffstats
path: root/src/gui/itemmodels
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2018-11-01 12:46:24 +0100
committerJani Heikkinen <jani.heikkinen@qt.io>2018-11-06 12:43:17 +0000
commit8828993c4405a8aa98f11318151a74b352eb5521 (patch)
treedb4ae522ddcddb560fd21c312d9b4c94146d9e68 /src/gui/itemmodels
parentd24835a60c0c620a27c7a9830b89ed47312739a5 (diff)
Doc: Qt GUI: Fix documentation warnings
These are minor typos or documentation warnings that snuck in with new features. Task-number: QTBUG-71502 Change-Id: I03669cfecc3c3d80168ff7b1ca8bca7571e06d25 Reviewed-by: Martin Smith <martin.smith@qt.io>
Diffstat (limited to 'src/gui/itemmodels')
-rw-r--r--src/gui/itemmodels/qstandarditemmodel.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/itemmodels/qstandarditemmodel.cpp b/src/gui/itemmodels/qstandarditemmodel.cpp
index 8ec88ebc60..430ba152a9 100644
--- a/src/gui/itemmodels/qstandarditemmodel.cpp
+++ b/src/gui/itemmodels/qstandarditemmodel.cpp
@@ -3013,6 +3013,9 @@ bool QStandardItemModel::setData(const QModelIndex &index, const QVariant &value
/*!
\since 5.12
Removes the data stored in all the roles for the given \a index.
+ Returns \c true if \a index is valid and data was cleared, \c false
+ otherwise.
+
\sa setData(), data()
*/
bool QStandardItemModel::clearItemData(const QModelIndex &index)