summaryrefslogtreecommitdiffstats
path: root/qtools/qfileinfo_win32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtools/qfileinfo_win32.cpp')
-rw-r--r--qtools/qfileinfo_win32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtools/qfileinfo_win32.cpp b/qtools/qfileinfo_win32.cpp
index 8f83107..680ffb1 100644
--- a/qtools/qfileinfo_win32.cpp
+++ b/qtools/qfileinfo_win32.cpp
@@ -266,7 +266,7 @@ void QFileInfo::doStat() const
}
#else
QString file = fn;
- reslashify(file);
+ reslashify(QDir::cleanupDirPath(file));
#ifdef QT_LARGEFILE_SUPPORT
if ( _wstati64( (wchar_t*) file.ucs2(), b ) == -1 ) {
#else