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.
This commit is contained in:
Christian Kamm 2017-06-19 10:48:19 +02:00 committed by Markus Goetz
parent 4291ea47f7
commit 1e78a14f1a

View file

@ -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);