Use QString for user-visible strings
authorJoão Abecasis <joao.abecasis@nokia.com>
Wed, 22 Aug 2012 11:32:52 +0000 (13:32 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 29 Aug 2012 12:11:11 +0000 (14:11 +0200)
commit1cd85c541fced0d4efc95dc8f2948be7748a839c
treeb2c468a84bf5ae7463951713e106d2b15585ce21
parent5b9edbf0371fd38de62c5945a5c143d78cc39f14
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>
src/corelib/io/qfilesystemiterator_p.h