summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-07-22 14:52:35 (GMT)
committerJiang Jiang <jiang.jiang@nokia.com>2011-07-26 07:27:51 (GMT)
commit5c1ec4373f63045c4c56f748e47612b3bfc9ab88 (patch)
treeab906c18a532a67d89a9efe05a11ce18ffb2e073 /src/corelib
parent484f291ccc743e833abe620f3e61154ca7b5f610 (diff)
downloadQt-5c1ec4373f63045c4c56f748e47612b3bfc9ab88.zip
Qt-5c1ec4373f63045c4c56f748e47612b3bfc9ab88.tar.gz
Qt-5c1ec4373f63045c4c56f748e47612b3bfc9ab88.tar.bz2
Revert "fix QFileInfo::isSymLink() for NTFS mount points"
This reverts commit 70a434dc1c24f306805900b5ad7a45c7272702c6.
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/io/qfilesystemmetadata_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/io/qfilesystemmetadata_p.h b/src/corelib/io/qfilesystemmetadata_p.h
index de5b003..c961101 100644
--- a/src/corelib/io/qfilesystemmetadata_p.h
+++ b/src/corelib/io/qfilesystemmetadata_p.h
@@ -369,7 +369,8 @@ inline void QFileSystemMetaData::fillFromFindData(WIN32_FIND_DATA &findData, boo
entryFlags &= ~LinkType;
#if !defined(Q_OS_WINCE)
if ((fileAttribute_ & FILE_ATTRIBUTE_REPARSE_POINT)
- && (findData.dwReserved0 == IO_REPARSE_TAG_SYMLINK)) {
+ && (findData.dwReserved0 == IO_REPARSE_TAG_SYMLINK
+ || findData.dwReserved0 == IO_REPARSE_TAG_MOUNT_POINT)) {
entryFlags |= LinkType;
}
#endif