Reference proper SplitBehaviour enum in docs

QString::SkipEmptyParts is Qt::SkipEmptyParts now.

Pick-to: 5.15
Change-Id: Ie351bbe9d2350e771f821a9f0bc9f581be5b0022
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
bb10
Nicolas Fella 2020-10-01 22:54:22 +02:00
parent a1dbdc666f
commit 2d8d8ab8c2
2 changed files with 2 additions and 2 deletions

View File

@ -7286,7 +7286,7 @@ static ResultList splitString(const StringSource &source, QStringView sep,
\a cs specifies whether \a sep should be matched case
sensitively or case insensitively.
If \a behavior is QString::SkipEmptyParts, empty entries don't
If \a behavior is Qt::SkipEmptyParts, empty entries don't
appear in the result. By default, empty entries are kept.
Example:

View File

@ -238,7 +238,7 @@ QT_BEGIN_NAMESPACE
\a cs specifies whether \a needle should be matched case
sensitively or case insensitively.
If \a sb is QString::SkipEmptyParts, empty entries don't
If \a sb is Qt::SkipEmptyParts, empty entries don't
appear in the result. By default, empty entries are included.
\sa QStringView::split(), QString::split(), Qt::CaseSensitivity, Qt::SplitBehavior