doc: Remove invalid link and tone down language

QLatin1StringView::split() appears to be invalid.

Pick-to: 6.8 6.9
Change-Id: I11066b8224cce0a6091c758367f602a63c6136a0
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
David Boddie 2025-02-06 17:17:07 +01:00
parent 85899ff181
commit 4aff3488b8

View File

@ -32,15 +32,14 @@ QT_BEGIN_NAMESPACE
use(*it);
\endcode
\note You should never, ever, name the template arguments of a
\note You should never name the template arguments of a
QStringTokenizer explicitly. You may write
\c{QStringTokenizer{string, separator}} (without template
arguments), or use the qTokenize() function, or the
QStringView::split() or QLatin1StringView::split() member functions
and store the return value only in \c{auto} variables:
\c{QStringTokenizer{string, separator}} (without template arguments),
or use either QStringView::tokenize() or QLatin1StringView::tokenize(),
then store the return value only in an \c{auto} variable:
\code
auto result = string.split(sep);
auto result = strview.tokenize(sep);
\endcode
This is because the template arguments of QStringTokenizer have a