forked from qt-creator/qt-creator
FilePath: Replace Q_OS_WINDOWS with Q_OS_WIN for consistency
Change-Id: Ia624c804e54fe4c5213351078a7aa9c8dec9f262 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
f4eff5f76d
commit
1afa720f2c
@@ -1914,7 +1914,7 @@ FilePath FilePath::canonicalPath() const
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef Q_OS_WINDOWS
|
#ifdef Q_OS_WIN
|
||||||
DWORD flagsAndAttrs = FILE_ATTRIBUTE_NORMAL;
|
DWORD flagsAndAttrs = FILE_ATTRIBUTE_NORMAL;
|
||||||
if (isDir())
|
if (isDir())
|
||||||
flagsAndAttrs |= FILE_FLAG_BACKUP_SEMANTICS;
|
flagsAndAttrs |= FILE_FLAG_BACKUP_SEMANTICS;
|
||||||
|
|||||||
Reference in New Issue
Block a user