From 3b08cbff6998621a288ab87511cb168d93a956a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Tue, 28 Feb 2023 23:28:53 +0100 Subject: [PATCH] Remove redundant information in QString::toLocal8Bit() docs Pick-to: 6.5 Change-Id: I794621a599bfab85c6a19300225d0e1ad4948362 Reviewed-by: Thiago Macieira --- src/corelib/text/qstring.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/corelib/text/qstring.cpp b/src/corelib/text/qstring.cpp index 248d9e7b8e2..51b414634d4 100644 --- a/src/corelib/text/qstring.cpp +++ b/src/corelib/text/qstring.cpp @@ -5454,14 +5454,13 @@ static QByteArray qt_convert_to_local_8bit(QStringView string); \fn QByteArray QString::toLocal8Bit() const Returns the local 8-bit representation of the string as a - QByteArray. The returned byte array is undefined if the string - contains characters not supported by the local 8-bit encoding. + QByteArray. \include qstring.qdocinc {qstring-local-8-bit-equivalent} {toUtf8} If this string contains any characters that cannot be encoded in the - locale, the returned byte array is undefined. Those characters may be - suppressed or replaced by another. + local 8-bit encoding, the returned byte array is undefined. Those + characters may be suppressed or replaced by another. \sa fromLocal8Bit(), toLatin1(), toUtf8(), QStringEncoder */