mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
FolderStatusModel: Do not abort applying selective sync if one folder has an error
Issue #6675
This commit is contained in:
parent
732069aaa7
commit
4837bc8d60
1 changed files with 1 additions and 1 deletions
|
@ -830,7 +830,7 @@ void FolderStatusModel::slotApplySelectiveSync()
|
||||||
auto oldBlackList = folder->journalDb()->getSelectiveSyncList(SyncJournalDb::SelectiveSyncBlackList, &ok);
|
auto oldBlackList = folder->journalDb()->getSelectiveSyncList(SyncJournalDb::SelectiveSyncBlackList, &ok);
|
||||||
if (!ok) {
|
if (!ok) {
|
||||||
qCWarning(lcFolderStatus) << "Could not read selective sync list from db.";
|
qCWarning(lcFolderStatus) << "Could not read selective sync list from db.";
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
QStringList blackList = createBlackList(&_folders[i], oldBlackList);
|
QStringList blackList = createBlackList(&_folders[i], oldBlackList);
|
||||||
folder->journalDb()->setSelectiveSyncList(SyncJournalDb::SelectiveSyncBlackList, blackList);
|
folder->journalDb()->setSelectiveSyncList(SyncJournalDb::SelectiveSyncBlackList, blackList);
|
||||||
|
|
Loading…
Reference in a new issue