diff --git a/src/mirall/folderwatcher.cpp b/src/mirall/folderwatcher.cpp index d30c17bfc..8726b7a74 100644 --- a/src/mirall/folderwatcher.cpp +++ b/src/mirall/folderwatcher.cpp @@ -59,6 +59,11 @@ FolderWatcher::~FolderWatcher() } +QString FolderWatcher::root() const +{ + return _root; +} + QStringList FolderWatcher::folders() const { return _inotify->directories(); diff --git a/src/mirall/folderwatcher.h b/src/mirall/folderwatcher.h index 436ce2dae..bb298f92a 100644 --- a/src/mirall/folderwatcher.h +++ b/src/mirall/folderwatcher.h @@ -29,6 +29,11 @@ public: */ QStringList folders() const; + /** + * Root path being monitored + */ + QString FolderWatcher::root() const + signals: /** * Emitted when one of the paths is changed