From d8269a96b8d3a2bc86fef006363288decb660152 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Tue, 28 Feb 2023 21:25:19 +0100 Subject: [PATCH] doc: Fix spelling of 'equivalent' in QString documentation Change-Id: I1d39bee80fbaf3e3e6eb5e383fd845bb0f9071e5 Reviewed-by: Timur Pocheptsov (cherry picked from commit 3154aec540b29827173d9de0ef7aad30849e6890) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/text/qstring.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/corelib/text/qstring.cpp b/src/corelib/text/qstring.cpp index 939893c54e6..7024ccb2199 100644 --- a/src/corelib/text/qstring.cpp +++ b/src/corelib/text/qstring.cpp @@ -5395,7 +5395,7 @@ static QByteArray qt_convert_to_local_8bit(QStringView string); QByteArray. The returned byte array is undefined if the string contains characters not supported by the local 8-bit encoding. - On Unix systems this is equivalen to toUtf8(), on Windows the systems + On Unix systems this is equivalent to toUtf8(), on Windows the systems current code page is being used. If this string contains any characters that cannot be encoded in the @@ -5425,7 +5425,7 @@ static QByteArray qt_convert_to_local_8bit(QStringView string) Returns a local 8-bit representation of \a string as a QByteArray. - On Unix systems this is equivalen to toUtf8(), on Windows the systems + On Unix systems this is equivalent to toUtf8(), on Windows the systems current code page is being used. The behavior is undefined if \a string contains characters not @@ -5593,7 +5593,7 @@ QString QString::fromLatin1(QByteArrayView ba) If \a size is \c{-1}, \c{strlen(str)} is used instead. - On Unix systems this is equivalen to fromUtf8(), on Windows the systems + On Unix systems this is equivalent to fromUtf8(), on Windows the systems current code page is being used. \sa toLocal8Bit(), fromLatin1(), fromUtf8()