summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@digia.com>2013-01-10 14:20:50 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-10 17:58:13 +0100
commit700363c98c65c140749384c169017f0c158871f2 (patch)
treefca56a4c636620a813f881f3849d24ef6e9508f9 /src/corelib/io
parent3b0ed624351441a2d7be45cf9582fd36955ae860 (diff)
Doc: cleanPath also normalizes separators
Change-Id: I0e5c1cd45ad90fceaed931b7014b4542e8aaa9d7 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'src/corelib/io')
-rw-r--r--src/corelib/io/qdir.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qdir.cpp b/src/corelib/io/qdir.cpp
index 5463adaeb9..cb334ed741 100644
--- a/src/corelib/io/qdir.cpp
+++ b/src/corelib/io/qdir.cpp
@@ -2005,8 +2005,8 @@ bool QDir::match(const QString &filter, const QString &fileName)
#endif // QT_NO_REGEXP
/*!
- Removes all multiple directory separators "/" and resolves any
- "."s or ".."s found in the path, \a path.
+ Returns \a path with directory separators normalized (converted to "/") and
+ redundant ones removed, and "."s and ".."s resolved (as far as possible).
Symbolic links are kept. This function does not return the
canonical path, but rather the simplest version of the input.