diff src/fswatcher.cpp @ 542:7829da6abe97 fswatcher

Provide all tracked files to the fs watcher, so now we get updates properly -- requires moving the "what should we display?" logic for show-all-files toggle from main window to file status widget, but it's probably better there anyway
author Chris Cannam
date Tue, 14 Feb 2012 16:48:01 +0000
parents 0a16db274f2c
children 533519ebc0cb
line wrap: on
line diff
--- a/src/fswatcher.cpp	Tue Feb 14 16:17:23 2012 +0000
+++ b/src/fswatcher.cpp	Tue Feb 14 16:48:01 2012 +0000
@@ -82,6 +82,7 @@
 	QSet<QString>::fromList(m_watcher.files());
 
     foreach (QString path, paths) {
+        path = m_workDirPath + QDir::separator() + path;
         if (!alreadyWatched.contains(path)) {
             m_watcher.addPath(path);
         } else {