summaryrefslogtreecommitdiffstats
path: root/src/corelib/itemmodels
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-10-02 17:01:44 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2020-10-03 01:07:39 +0000
commit344f60269f3eada0c2c0fffadb7909268215aebc (patch)
tree8ddc50dd0cdca16495dee2855f46b17f347d1a50 /src/corelib/itemmodels
parent763c08d809759343ca3558e84ae1a28f5d63b7df (diff)
QAIM docs: use \nullptr instead of 0
Change-Id: I30b541f28ba8271eb4234c7f642485a1614808bf Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit f478905068647495da04dcdb193457f2199835d6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/corelib/itemmodels')
-rw-r--r--src/corelib/itemmodels/qabstractitemmodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/itemmodels/qabstractitemmodel.cpp b/src/corelib/itemmodels/qabstractitemmodel.cpp
index db75163e50..3a79c502af 100644
--- a/src/corelib/itemmodels/qabstractitemmodel.cpp
+++ b/src/corelib/itemmodels/qabstractitemmodel.cpp
@@ -1945,8 +1945,8 @@ QStringList QAbstractItemModel::mimeTypes() const
mimeTypes(). If you reimplement mimeTypes() in your custom model to return
more MIME types, reimplement this function to make use of them.
- If the list of \a indexes is empty, or there are no supported MIME types, 0
- is returned rather than a serialized empty list.
+ If the list of \a indexes is empty, or there are no supported MIME types,
+ \nullptr is returned rather than a serialized empty list.
\sa mimeTypes(), dropMimeData()
*/