summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorJoão Abecasis <joao.abecasis@nokia.com>2012-08-22 13:32:52 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-29 14:11:11 +0200
commit1cd85c541fced0d4efc95dc8f2948be7748a839c (patch)
treeb2c468a84bf5ae7463951713e106d2b15585ce21 /src/corelib
parent5b9edbf0371fd38de62c5945a5c143d78cc39f14 (diff)
Use QString for user-visible strings
dirPath is kept as the "user visible" path string and is used to construct paths during directory iteration. In QFileSystemEntry (and in Qt, more generally) these are represented with QString. While on Windows QFileSystemEntry::NativePath and QString are one and the same, dirPath does not represent a native path. So, basically, don't do that. Change-Id: I987477cb41b37018634ac43aeda004d254181dc5 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/io/qfilesystemiterator_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qfilesystemiterator_p.h b/src/corelib/io/qfilesystemiterator_p.h
index 5c249d6dba..71543af7ef 100644
--- a/src/corelib/io/qfilesystemiterator_p.h
+++ b/src/corelib/io/qfilesystemiterator_p.h
@@ -86,7 +86,7 @@ private:
// Platform-specific data
#if defined(Q_OS_WIN)
- QFileSystemEntry::NativePath dirPath;
+ QString dirPath;
HANDLE findFileHandle;
QStringList uncShares;
bool uncFallback;