Fixing another bug with deletion detection. Now it seems to work
diff --git a/gui/fs-watcher.cc b/gui/fs-watcher.cc
index 18b6f77..cddda7e 100644
--- a/gui/fs-watcher.cc
+++ b/gui/fs-watcher.cc
@@ -177,7 +177,7 @@
filesystem::path triggeredDir (dirPath.toStdString ());
- FileItemsPtr files = m_fileState->LookupFilesInFolderRecursively (triggeredDir.generic_string ());
+ FileItemsPtr files = m_fileState->LookupFilesInFolderRecursively (triggeredDir.relative_path ().generic_string ());
for (std::list<FileItem>::iterator file = files->begin (); file != files->end (); file ++)
{
filesystem::path testFile = filesystem::path (m_dirPath.toStdString ()) / file->filename ();