summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorKavindra Palaraja <kavindra.d+qt@gmail.com>2017-01-08 10:32:52 +0100
committerKavindra Palaraja <kavindra.d+qt@gmail.com>2017-01-08 16:02:44 +0000
commit389165dd25a30a0ff9ea368555ecb84d40ceacfa (patch)
treed352bdf098184d910c97faf73d679d1ee8949d51 /src/corelib
parent1d1b60dee40de3b8d67be46399b58d4b1ecddab1 (diff)
Clarify StripTrailingSlash behavior
StripTrailingSlash removes trailing slashes from the path, but not the entire URL. Task-number: QTBUG-47607 Change-Id: Id62b971e563e290b7ca000576bcc328616a3f1a2 Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/io/qurl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp
index 066052ade9..38f2a708b5 100644
--- a/src/corelib/io/qurl.cpp
+++ b/src/corelib/io/qurl.cpp
@@ -240,7 +240,7 @@
Only valid if RemovePath is not set.
\value PreferLocalFile If the URL is a local file according to isLocalFile()
and contains no query or fragment, a local file path is returned.
- \value StripTrailingSlash The trailing slash is removed if one is present.
+ \value StripTrailingSlash The trailing slash is removed from the path, if one is present.
\value NormalizePathSegments Modifies the path to remove redundant directory separators,
and to resolve "."s and ".."s (as far as possible).