From 7c40dc1a9ab898f80b32f69770e6266c5c259026 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Tue, 8 Apr 2014 13:05:51 +0200 Subject: Ignore changes on .owncloudsync.log in the linux filewatcher. Also remove some verbose and unused logging. --- src/mirall/folderwatcher_linux.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mirall/folderwatcher_linux.cpp b/src/mirall/folderwatcher_linux.cpp index 71226dc8c..58abe2022 100644 --- a/src/mirall/folderwatcher_linux.cpp +++ b/src/mirall/folderwatcher_linux.cpp @@ -170,9 +170,10 @@ 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) { - qDebug() << Q_FUNC_INFO << event->name; - if (QByteArray(event->name).startsWith(".csync")) { - qDebug() << "ignore journal"; + // qDebug() << Q_FUNC_INFO << event->name; + if (QByteArray(event->name).startsWith(".csync") || + QByteArray(event->name) == ".owncloudsync.log") { + // qDebug() << "ignore journal"; } else { const QString p = _watches[event->wd]; _parent->changeDetected(p); -- cgit v1.2.3