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.9 6.8 6.5 5.15
Change-Id: I350a277f91e486256ca014e554beea3348b6ca96
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Marc Mutz 2025-03-20 07:17:14 +01:00
parent 895b1c0ab3
commit 39aac93438

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
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.
*/