diff options
author | Christian Kamm <mail@ckamm.de> | 2017-10-09 13:06:57 +0300 |
---|---|---|
committer | ckamm <mail@ckamm.de> | 2017-10-24 11:00:20 +0300 |
commit | 66f0ce6616edcb6e44d235ae779170eb28c9c7c0 (patch) | |
tree | d3163e0d4e2adffd37c05f9a1d293a06c0a4b439 /src/gui/folderwatcher_win.h | |
parent | fb2d31c9cedd10bc3b0cee7ccfff0756f6615386 (diff) |
FolderWatcher: reliability and data-loss signal
Add state and signal to catch the following two known problems:
* Linux: inotify user watch pool is exhausted. Folder watcher becomes
unreliable.
* Windows: buffer is too small, some notifications are lost but watching
stays reliable.
Diffstat (limited to 'src/gui/folderwatcher_win.h')
-rw-r--r-- | src/gui/folderwatcher_win.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/folderwatcher_win.h b/src/gui/folderwatcher_win.h index 687ec891d..7ea673084 100644 --- a/src/gui/folderwatcher_win.h +++ b/src/gui/folderwatcher_win.h @@ -53,6 +53,7 @@ protected: signals: void changed(const QString &path); + void lostChanges(); private: QString _path; |