From f478905068647495da04dcdb193457f2199835d6 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Fri, 2 Oct 2020 17:01:44 +0200 Subject: [PATCH] QAIM docs: use \nullptr instead of 0 Pick-to: 5.15 Change-Id: I30b541f28ba8271eb4234c7f642485a1614808bf Reviewed-by: Thiago Macieira --- src/corelib/itemmodels/qabstractitemmodel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/corelib/itemmodels/qabstractitemmodel.cpp b/src/corelib/itemmodels/qabstractitemmodel.cpp index 2fa4f62021c..521fd69fbcd 100644 --- a/src/corelib/itemmodels/qabstractitemmodel.cpp +++ b/src/corelib/itemmodels/qabstractitemmodel.cpp @@ -2147,8 +2147,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() */