From b2cf019b98a1aeb2a90f84ee5fefe9832aecc3a5 Mon Sep 17 00:00:00 2001 From: Christian Ehrlicher Date: Wed, 13 Dec 2023 20:26:43 +0100 Subject: [PATCH] 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 (cherry picked from commit cd081991b196e65440138379ea23321397c40b9f) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/doc/src/includes/qstring.qdocinc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/corelib/doc/src/includes/qstring.qdocinc b/src/corelib/doc/src/includes/qstring.qdocinc index dade4f0af0b..66ed12dff3f 100644 --- a/src/corelib/doc/src/includes/qstring.qdocinc +++ b/src/corelib/doc/src/includes/qstring.qdocinc @@ -26,9 +26,9 @@ in this string, searching backward from index position \a from. //! [qstring-local-8-bit-equivalent] On Unix systems this is equivalent to \1(). 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 -\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 typically return the legacy "Western (Mac OS Roman)" encoding, which should not be used on modern Apple operating systems.