On directory event, do not fire rescan/notification immediately, but schedule it in some distant future (5 mins)
This function is only needed to ensure consistency, but if abused, cause problems
diff --git a/gui/fs-watcher.h b/gui/fs-watcher.h
index b541382..6f5e349 100644
--- a/gui/fs-watcher.h
+++ b/gui/fs-watcher.h
@@ -61,7 +61,7 @@
// handle callback from the watcher
// scan directory and notify callback about any file changes
void
- ScanDirectory_NotifyUpdates_Execute (QString dirPath);
+ ScanDirectory_NotifyUpdates_Execute (QString dirPath, bool notifyCallbacks);
void
ScanDirectory_NotifyRemovals_Execute (QString dirPath);