From c4ac9e74c79ebba3493ce29b25623b8c39b021a4 Mon Sep 17 00:00:00 2001 From: Paul Wicking Date: Tue, 17 Aug 2021 14:08:05 +0200 Subject: Doc: Add see also links to operator== and operator!= Add see also link from operator== and operator!= to matches() to avoid possible confusion. Fixes: QTBUG-95820 Pick-to: 6.2 5.15 Change-Id: Ica8112da436b57da0d410f8e1f6b71fc6bf0791f Reviewed-by: Venugopal Shivashankar --- src/corelib/io/qurl.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/corelib/io/qurl.cpp') diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp index 1e198ebdd3..72d4c99abe 100644 --- a/src/corelib/io/qurl.cpp +++ b/src/corelib/io/qurl.cpp @@ -3115,6 +3115,8 @@ bool QUrl::operator <(const QUrl &url) const /*! Returns \c true if this URL and the given \a url are equal; otherwise returns \c false. + + \sa matches() */ bool QUrl::operator ==(const QUrl &url) const { @@ -3222,6 +3224,8 @@ bool QUrl::matches(const QUrl &url, FormattingOptions options) const /*! Returns \c true if this URL and the given \a url are not equal; otherwise returns \c false. + + \sa matches() */ bool QUrl::operator !=(const QUrl &url) const { -- cgit v1.2.3