From 768ae82a03e57b50996ac3e28550d3f5bb53cb27 Mon Sep 17 00:00:00 2001 From: David Boddie Date: Tue, 11 Feb 2025 16:24:46 +0100 Subject: [PATCH] doc: Fix invalid auto-link qdoc tries to auto-link text written like a function call. Since there isn't a terminated() function to link to, we ended up with unlinked text, so we just remove the parentheses. Amends 3b95bfe7c7b918bfececd9734780aa9e2f91ec02. Pick-to: 6.9 Change-Id: I83bd19973aea939b51a512ca65ba7ae4ad8c34ed Reviewed-by: Ahmad Samir --- src/corelib/text/qstring.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/text/qstring.cpp b/src/corelib/text/qstring.cpp index ba2f2aabd8f..e60f7ff6554 100644 --- a/src/corelib/text/qstring.cpp +++ b/src/corelib/text/qstring.cpp @@ -7068,7 +7068,7 @@ const ushort *QString::utf16() const \since 6.10 If this string data isn't null-terminated, this method will make a deep - copy of the data and make it null-terminated(). + copy of the data and make it null-terminated. A QString is null-terminated by default, however in some cases (e.g. when using fromRawData()), the string data doesn't necessarily end