diff --git a/src/mirall/folderwatcher.cpp b/src/mirall/folderwatcher.cpp index 7736b186ba..2db8e788cb 100644 --- a/src/mirall/folderwatcher.cpp +++ b/src/mirall/folderwatcher.cpp @@ -109,6 +109,7 @@ bool FolderWatcher::pathIsIgnored( const QString& path ) void FolderWatcher::changeDetected( const QString& path ) { + qDebug() << Q_FUNC_INFO << path; // Check if the same path was reported within the last second. if( path == _lastPath && _timer.elapsed() < 1000 ) { // the same path was reported within the last second. Skip. diff --git a/src/mirall/folderwatcher_linux.cpp b/src/mirall/folderwatcher_linux.cpp index c8d902f0f7..6f008201d8 100644 --- a/src/mirall/folderwatcher_linux.cpp +++ b/src/mirall/folderwatcher_linux.cpp @@ -173,8 +173,7 @@ void FolderWatcherPrivate::slotReceivedNotification(int fd) // Note: The name of the changed file and stuff could be taken from // the event data structure. That does not happen yet. if (event->len > 0 && event->wd > -1) { - const QString p = _watches[event->wd]; - _parent->changeDetected(p); + _parent->changeDetected(QString::fromLocal8Bit(event->name)); } // increment counter diff --git a/sync-exclude.lst b/sync-exclude.lst index a99945abad..4ec4e6a5f5 100644 --- a/sync-exclude.lst +++ b/sync-exclude.lst @@ -5,8 +5,8 @@ *.unison* *csync_timedif.ctmp* -csync_journal.db -csync_journal.db.ctmp +.csync_journal.db +.csync_journal.db.ctmp .*.sw? .*.*sw? ].csync-progressdatabase