diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-07-22 14:52:35 (GMT) |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-07-26 07:27:51 (GMT) |
commit | 5c1ec4373f63045c4c56f748e47612b3bfc9ab88 (patch) | |
tree | ab906c18a532a67d89a9efe05a11ce18ffb2e073 /src/corelib | |
parent | 484f291ccc743e833abe620f3e61154ca7b5f610 (diff) | |
download | Qt-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.h | 3 |
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 |