summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shaw <qt-info@nokia.com>2009-03-31 20:53:52 (GMT)
committerAndy Shaw <qt-info@nokia.com>2009-03-31 20:53:52 (GMT)
commitba8c15b71b006ddb5c74f0c97288d98541221328 (patch)
tree223c27523764aa546080ff76defc5af7ff33ff40
parentac96e93728541897203a8d1bcbdf9e43c4af8758 (diff)
downloadQt-ba8c15b71b006ddb5c74f0c97288d98541221328.zip
Qt-ba8c15b71b006ddb5c74f0c97288d98541221328.tar.gz
Qt-ba8c15b71b006ddb5c74f0c97288d98541221328.tar.bz2
Subject: Compile fix on Windows
Reviewed-by: Anders Bakken <anders.bakken@nokia.com>
-rw-r--r--src/corelib/io/qdiriterator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qdiriterator.cpp b/src/corelib/io/qdiriterator.cpp
index a2c5321..b14f436 100644
--- a/src/corelib/io/qdiriterator.cpp
+++ b/src/corelib/io/qdiriterator.cpp
@@ -201,8 +201,8 @@ void QDirIteratorPrivate::advance()
QString subDir = it->currentFilePath();
#ifdef Q_OS_WIN
- if (fileInfo.isSymLink())
- subDir = fileInfo.canonicalFilePath();
+ if (currentFileInfo.isSymLink())
+ subDir = currentFileInfo.canonicalFilePath();
#endif
pushSubDirectory(subDir, it->nameFilters(), it->filters());
}