From 15cd7d774146ed18f537a79f44e5ca3401c72c38 Mon Sep 17 00:00:00 2001 From: Andreas Buhr Date: Thu, 3 Dec 2020 11:02:51 +0100 Subject: [PATCH] Fix documentation warnings about QCollator property The documentation of ignorePunctuation in QCollator did not strictly follow conventions, leading to warnings in building the documentation. This patch fixes this. Task-number: QTBUG-88533 Pick-to: 6.0 Change-Id: Ia1273ec8e440099afe729b54423760ad5ac26290 Reviewed-by: Fabian Kosmale Reviewed-by: Thiago Macieira --- src/corelib/text/qcollator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/corelib/text/qcollator.cpp b/src/corelib/text/qcollator.cpp index 46bd64daf5..d1bf8258ae 100644 --- a/src/corelib/text/qcollator.cpp +++ b/src/corelib/text/qcollator.cpp @@ -268,7 +268,7 @@ bool QCollator::numericMode() const } /*! - Control whether punctuation and symbols are ignored when collating. + Ignores punctuation and symbols if \a on is \c true, attends to them if \c false. \sa ignorePunctuation() */ @@ -282,7 +282,7 @@ void QCollator::setIgnorePunctuation(bool on) } /*! - Indicates whether punctuation and symbols are ignored when collating. + Returns whether punctuation and symbols are ignored when collating. When \c true, strings are compared as if all punctuation and symbols were removed from each string.