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 <thiago.macieira@intel.com>
(cherry picked from commit 39aac934387afe3b50c1dff4c739080202a7a4df)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Marc Mutz 2025-03-20 07:17:14 +01:00 committed by Qt Cherry-pick Bot
parent df8ba5c184
commit 27f59f908d

View File

@ -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 Returns \c true if this URL and the given \a url are equal after
applying \a options to both; otherwise returns \c false. 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. and comparing the resulting urls, but faster.
*/ */