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 <fabian.kosmale@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Andreas Buhr 2020-12-03 11:02:51 +01:00
parent e32e4898dd
commit 15cd7d7741
1 changed files with 2 additions and 2 deletions

View File

@ -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.