diff options
author | Paul Wicking <paul.wicking@qt.io> | 2021-08-17 14:08:05 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-08-18 11:46:18 +0000 |
commit | 9ab73cb65df1813e6c9d89aa8618409e0fe5d23b (patch) | |
tree | 97af7112ad4a01c44667d70a659d1e930fe8cf6b /src | |
parent | 70421a3fc4e8af5aabd0cb5d79b95c64d1313516 (diff) |
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
Change-Id: Ica8112da436b57da0d410f8e1f6b71fc6bf0791f
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
(cherry picked from commit c4ac9e74c79ebba3493ce29b25623b8c39b021a4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/io/qurl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp index e3e22866bc..911a071691 100644 --- a/src/corelib/io/qurl.cpp +++ b/src/corelib/io/qurl.cpp @@ -3640,6 +3640,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 { @@ -3747,6 +3749,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 { |