From f8b100c1363c6b823a68d8cfcd9680903175277e Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 3 Feb 2025 21:21:35 +0100 Subject: [PATCH] Doc: document RemoveAuthority and RemoveFragment in QUrl Change-Id: I5ff4898853f1655a902523e7f22344deb5624cc1 Reviewed-by: Thiago Macieira (cherry picked from commit eda83d41f6dbc00403447a9b6b6ed730e6706554) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/io/qurl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp index f03e53a2f16..b48850bf8ae 100644 --- a/src/corelib/io/qurl.cpp +++ b/src/corelib/io/qurl.cpp @@ -208,12 +208,12 @@ \value RemovePassword Any password in the URL is removed. \value RemoveUserInfo Any user information in the URL is removed. \value RemovePort Any specified port is removed from the URL. - \value RemoveAuthority + \value RemoveAuthority Remove user name, password, host and port. \value RemovePath The URL's path is removed, leaving only the scheme, host address, and port (if present). \value RemoveQuery The query part of the URL (following a '?' character) is removed. - \value RemoveFragment + \value RemoveFragment The fragment part of the URL (including the '#' character) is removed. \value RemoveFilename The filename (i.e. everything after the last '/' in the path) is removed. The trailing '/' is kept, unless StripTrailingSlash is set. Only valid if RemovePath is not set.