From: Christian Kamm Date: Mon, 19 Jun 2017 08:48:19 +0000 (+0200) Subject: Ignore ui: Add the sync journal patterns #5844 X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~710^2~3^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1e78a14f1aa6114ac448b961b663f1458473c99c;p=nextcloud-desktop.git Ignore ui: Add the sync journal patterns #5844 The ignore patterns for the journal files are hardcoded. Add them to the UI to make them discoverable. --- diff --git a/src/gui/ignorelisteditor.cpp b/src/gui/ignorelisteditor.cpp index d21cd0d87..1d124d1d6 100644 --- a/src/gui/ignorelisteditor.cpp +++ b/src/gui/ignorelisteditor.cpp @@ -48,6 +48,9 @@ IgnoreListEditor::IgnoreListEditor(QWidget *parent) : "and cannot be modified in this view.") .arg(QDir::toNativeSeparators(cfgFile.excludeFile(ConfigFile::SystemScope))); + addPattern(".csync_journal.db*", /*deletable=*/false, /*readonly=*/true); + addPattern("._sync_*.db*", /*deletable=*/false, /*readonly=*/true); + addPattern(".sync_*.db*", /*deletable=*/false, /*readonly=*/true); readIgnoreFile(cfgFile.excludeFile(ConfigFile::SystemScope), true); readIgnoreFile(cfgFile.excludeFile(ConfigFile::UserScope), false);