From 27f59f908dcddae73bcabcd14618b558292eb2ff Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Thu, 20 Mar 2025 07:17:14 +0100 Subject: [PATCH] QUrl: add a link in a code fragment Writing "adjusted()" would have produced a link automatically, but since an argument is present, the function name is not a link. Add it manually. Omit the parentheses and the argument, because that's how QDoc renders "adjusted()", too (only the function name is the link). Amends 1aa4ad46e4878072be9acb8389572e7f9e8198df. Pick-to: 6.8 6.5 5.15 Change-Id: I350a277f91e486256ca014e554beea3348b6ca96 Reviewed-by: Thiago Macieira (cherry picked from commit 39aac934387afe3b50c1dff4c739080202a7a4df) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/io/qurl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp index 4b6eaf2079a..5a699ecbbfd 100644 --- a/src/corelib/io/qurl.cpp +++ b/src/corelib/io/qurl.cpp @@ -3151,7 +3151,7 @@ bool comparesEqual(const QUrl &lhs, const QUrl &rhs) Returns \c true if this URL and the given \a url are equal after applying \a options to both; otherwise returns \c false. - This is equivalent to calling adjusted(options) on both URLs + This is equivalent to calling \l{adjusted()}{adjusted}(options) on both URLs and comparing the resulting urls, but faster. */