Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kamm <mail@ckamm.de>2019-01-23 17:12:02 +0300
committerckamm <mail@ckamm.de>2019-02-11 15:35:14 +0300
commit010abe4c823af3dae7078854d1096f25b8b7225c (patch)
tree48852485d65dd29243f6e2a5fec69706b4294b76 /src/gui/folderwatcher_win.cpp
parent8ea639e58f2d2599f3f966f9f65a4f29c025ca43 (diff)
Pin state updates
- unspecified and inherited are different - move enum to header in common/ - access through Vfs instead of directly in Journal
Diffstat (limited to 'src/gui/folderwatcher_win.cpp')
-rw-r--r--src/gui/folderwatcher_win.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/folderwatcher_win.cpp b/src/gui/folderwatcher_win.cpp
index 4f963fbe2..5ecfe0e2c 100644
--- a/src/gui/folderwatcher_win.cpp
+++ b/src/gui/folderwatcher_win.cpp
@@ -67,7 +67,10 @@ void WatcherThread::watchChanges(size_t fileNotifyBufferSize,
SecureZeroMemory(pFileNotifyBuffer, fileNotifyBufferSize);
if (!ReadDirectoryChangesW(_directory, (LPVOID)pFileNotifyBuffer,
fileNotifyBufferSize, true,
- FILE_NOTIFY_CHANGE_FILE_NAME | FILE_NOTIFY_CHANGE_DIR_NAME | FILE_NOTIFY_CHANGE_LAST_WRITE,
+ FILE_NOTIFY_CHANGE_FILE_NAME
+ | FILE_NOTIFY_CHANGE_DIR_NAME
+ | FILE_NOTIFY_CHANGE_LAST_WRITE
+ | FILE_NOTIFY_CHANGE_ATTRIBUTES, // attributes are for vfs pin state changes
&dwBytesReturned,
&overlapped,
NULL)) {