summaryrefslogtreecommitdiffstats
path: root/qtools/qfileinfo_win32.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-07-28 13:28:20 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-07-28 13:28:20 (GMT)
commitffa8abdcd899778eeda66cb425c6d54ac9764f78 (patch)
tree9f84b8ae8aac301a798822588e58901398fce234 /qtools/qfileinfo_win32.cpp
parentfe44a7f4e14e1c21820993628829a3cc24421989 (diff)
downloadDoxygen-ffa8abdcd899778eeda66cb425c6d54ac9764f78.zip
Doxygen-ffa8abdcd899778eeda66cb425c6d54ac9764f78.tar.gz
Doxygen-ffa8abdcd899778eeda66cb425c6d54ac9764f78.tar.bz2
Bug 704971 - Can't build with MinGW
Diffstat (limited to 'qtools/qfileinfo_win32.cpp')
-rw-r--r--qtools/qfileinfo_win32.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtools/qfileinfo_win32.cpp b/qtools/qfileinfo_win32.cpp
index 2e1ecae..1061fae 100644
--- a/qtools/qfileinfo_win32.cpp
+++ b/qtools/qfileinfo_win32.cpp
@@ -266,7 +266,8 @@ void QFileInfo::doStat() const
}
#else
QString file = fn;
- reslashify(QDir::cleanDirPath(file));
+ file = QDir::cleanDirPath(file);
+ reslashify(file);
#ifdef QT_LARGEFILE_SUPPORT
if ( _wstati64( (wchar_t*) file.ucs2(), b ) == -1 ) {
#else