summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-07-22 14:52:35 (GMT)
committerFrederik Gladhorn <frederik.gladhorn@nokia.com>2011-08-01 12:49:20 (GMT)
commit9d674794b60a07850e8c3123ebb18f023f7134e9 (patch)
tree3d30c2bb1b3cd8d4baf4e9415a427615355a39fe
parent62fee8c255f9f6d6405857c501edfbfa7425862d (diff)
downloadQt-9d674794b60a07850e8c3123ebb18f023f7134e9.zip
Qt-9d674794b60a07850e8c3123ebb18f023f7134e9.tar.gz
Qt-9d674794b60a07850e8c3123ebb18f023f7134e9.tar.bz2
Revert "fix QFileInfo::isSymLink() for NTFS mount points"
This reverts commit 70a434dc1c24f306805900b5ad7a45c7272702c6.
-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