GUI/FS-watcher update
There are no guarantees that we detect all changes and some changes may
trigger several events. Should be good-enough for now
diff --git a/gui/chronosharegui.h b/gui/chronosharegui.h
index f0cbe76..b0d459e 100644
--- a/gui/chronosharegui.h
+++ b/gui/chronosharegui.h
@@ -33,6 +33,8 @@
#include <QMessageBox>
#include <QApplication>
+#include "fs-watcher.h"
+
class ChronoShareGui : public QWidget
{
Q_OBJECT
@@ -93,6 +95,7 @@
QString m_dirPath; // shared directory
+ FsWatcher *m_watcher;
// QString m_settingsFilePath; // settings file path
// QString m_settings;
};