Doc: fix links in QString::toLocal8Bit()

\l must not be preceded by \c - qdoc will ignore \l otherwise.
This amends 349bd4db22d057f3fc633f5522c53ad0bfb7bd6f

Pick-to: 6.6
Task-number: QTBUG-111443
Change-Id: Ia1ab7c6bfe88c288ea14ee307c6a39c1c304ee6f
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
(cherry picked from commit cd081991b196e65440138379ea23321397c40b9f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Christian Ehrlicher 2023-12-13 20:26:43 +01:00 committed by Qt Cherry-pick Bot
parent bf7c813b29
commit b2cf019b98

View File

@ -26,9 +26,9 @@ in this string, searching backward from index position \a from.
//! [qstring-local-8-bit-equivalent] //! [qstring-local-8-bit-equivalent]
On Unix systems this is equivalent to \1(). On Unix systems this is equivalent to \1().
Note that on Apple systems this function does not take Note that on Apple systems this function does not take
\c\l{https://developer.apple.com/documentation/foundation/nsstring/1410091-defaultcstringencoding?language=objc} \l{https://developer.apple.com/documentation/foundation/nsstring/1410091-defaultcstringencoding?language=objc}
{NSString.defaultCStringEncoding} or {NSString.defaultCStringEncoding} or
\c\l{https://developer.apple.com/documentation/corefoundation/1541720-cfstringgetsystemencoding?language=objc} \l{https://developer.apple.com/documentation/corefoundation/1541720-cfstringgetsystemencoding?language=objc}
{CFStringGetSystemEncoding()} into account, as these functions {CFStringGetSystemEncoding()} into account, as these functions
typically return the legacy "Western (Mac OS Roman)" encoding, typically return the legacy "Western (Mac OS Roman)" encoding,
which should not be used on modern Apple operating systems. which should not be used on modern Apple operating systems.