diff options
author | Christian Kamm <mail@ckamm.de> | 2016-11-22 15:17:04 +0300 |
---|---|---|
committer | Christian Kamm <mail@ckamm.de> | 2016-11-23 18:48:15 +0300 |
commit | 9641c7a1e7789a21d877ed374c4f67061c75f16c (patch) | |
tree | 1f5cc16bec1bad639bc31fff0ef102b5a65ae051 /src/gui/folderwatcher_linux.cpp | |
parent | 3e59a9b31600270b7c037c3b6149a51292626b3b (diff) |
Rename sync journal to ._sync_xxx.db.
The added underscore means that older clients will also ignore the
file.
Diffstat (limited to 'src/gui/folderwatcher_linux.cpp')
-rw-r--r-- | src/gui/folderwatcher_linux.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/folderwatcher_linux.cpp b/src/gui/folderwatcher_linux.cpp index ed935888e..c8024c00b 100644 --- a/src/gui/folderwatcher_linux.cpp +++ b/src/gui/folderwatcher_linux.cpp @@ -169,7 +169,7 @@ void FolderWatcherPrivate::slotReceivedNotification(int fd) if (event->len > 0 && event->wd > -1) { QByteArray fileName(event->name); // qDebug() << Q_FUNC_INFO << event->name; - if (fileName.startsWith(".sync_") || + if (fileName.startsWith("._sync_") || fileName.startsWith(".csync_journal.db") || fileName.startsWith(".owncloudsync.log")) { // qDebug() << "ignore journal"; |