ret is an "internal" path, no need to re-process it
authorJoão Abecasis <joao.abecasis@nokia.com>
Fri, 26 Aug 2011 09:01:48 +0000 (11:01 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 20 Oct 2011 14:53:03 +0000 (16:53 +0200)
Where "internal" means that it uses Qt's separator '/', regardless of
the native one.
(cherry picked from commit d4aa1777389f41da60a862a8c371d13839938d43)

Change-Id: Ic23ba0b360020b2e910b1256b38522db5c57f49b
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
src/corelib/io/qfilesystemengine_win.cpp

index 4963c5c..3296bab 100644 (file)
@@ -532,7 +532,7 @@ QFileSystemEntry QFileSystemEngine::absoluteName(const QFileSystemEntry &entry)
         // Force uppercase drive letters.
         ret[0] = ret.at(0).toUpper();
     }
-    return QFileSystemEntry(ret);
+    return QFileSystemEntry(ret, QFileSystemEntry::FromInternalPath());
 }
 
 //static