mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 13:25:52 +03:00
AccountSettings: Do not prepend the folder alias to the undecided folders
This fixes bug #3685
This commit is contained in:
parent
5e657aadee
commit
088c0d471a
1 changed files with 6 additions and 2 deletions
|
@ -475,12 +475,16 @@ void AccountSettings::refreshSelectiveSyncStatus()
|
|||
}
|
||||
|
||||
foreach (Folder *folder, FolderMan::instance()->map().values()) {
|
||||
if (folder->accountState() != _accountState) { continue; }
|
||||
if (folder->accountState() != _accountState) {
|
||||
continue;
|
||||
}
|
||||
|
||||
auto undecidedList = folder->journalDb()->getSelectiveSyncList(SyncJournalDb::SelectiveSyncUndecidedList);
|
||||
foreach(const auto &it, undecidedList) {
|
||||
undecidedFolder += ( folder->alias() + QLatin1String("/") + it);
|
||||
undecidedFolder.append(it);
|
||||
}
|
||||
}
|
||||
|
||||
if (undecidedFolder.isEmpty()) {
|
||||
ui->selectiveSyncNotification->setVisible(false);
|
||||
ui->selectiveSyncNotification->setText(QString());
|
||||
|
|
Loading…
Reference in a new issue