Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2018-08-31 17:03:01 +0300
committerOlivier Goffart <olivier@woboq.com>2018-08-31 17:41:23 +0300
commita31eadcadf48fde3cdb354e0a45ec2d183a805cf (patch)
tree1e3aa6a1c7a96831b012f2213973416ae6db5a84 /src/gui/ignorelisteditor.cpp
parent7209fd27a054343d03a882d5adbad1134f890502 (diff)
Discovery: Do full local discovery when changing the ignore files config
Since we are now skipping the full local discovery, we also need to call the method to force a full local discovery while we were making full remote discovery, for the same reason. Same applies when applying a selective sync: Normally there should not be any file or directory with the same same of a blacklisted folder, but if there is one, it was ignored and now need to be taken in account. Also make the F6 shortcut do a full local discovery as well.
Diffstat (limited to 'src/gui/ignorelisteditor.cpp')
-rw-r--r--src/gui/ignorelisteditor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/ignorelisteditor.cpp b/src/gui/ignorelisteditor.cpp
index 758aa5e92..20e7fc5c9 100644
--- a/src/gui/ignorelisteditor.cpp
+++ b/src/gui/ignorelisteditor.cpp
@@ -140,6 +140,7 @@ void IgnoreListEditor::slotUpdateLocalIgnoreList()
// ignored (because the remote etag did not change) (issue #3172)
foreach (Folder *folder, folderMan->map()) {
folder->journalDb()->forceRemoteDiscoveryNextSync();
+ folder->slotNextSyncFullLocalDiscovery();
folderMan->scheduleFolder(folder);
}
}