From 700363c98c65c140749384c169017f0c158871f2 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Thu, 10 Jan 2013 14:20:50 +0100 Subject: Doc: cleanPath also normalizes separators Change-Id: I0e5c1cd45ad90fceaed931b7014b4542e8aaa9d7 Reviewed-by: Oswald Buddenhagen --- src/corelib/io/qdir.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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. -- cgit v1.2.3