From 088c0d471ab06c1ff605260143d996ccff0287ac Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Wed, 9 Sep 2015 17:51:38 +0200 Subject: [PATCH] AccountSettings: Do not prepend the folder alias to the undecided folders This fixes bug #3685 --- src/gui/accountsettings.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/gui/accountsettings.cpp b/src/gui/accountsettings.cpp index de8baa3f7..4e6449d61 100644 --- a/src/gui/accountsettings.cpp +++ b/src/gui/accountsettings.cpp @@ -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()); -- 2.30.2