diff options
Diffstat (limited to 'src/gui/folderstatusmodel.cpp')
-rw-r--r-- | src/gui/folderstatusmodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/folderstatusmodel.cpp b/src/gui/folderstatusmodel.cpp index 0d2d13cb2..50ffe327d 100644 --- a/src/gui/folderstatusmodel.cpp +++ b/src/gui/folderstatusmodel.cpp @@ -841,7 +841,7 @@ void FolderStatusModel::slotApplySelectiveSync() // do the sync if there were changes const auto changes = (oldBlackListSet - blackListSet) + (blackListSet - oldBlackListSet); if (!changes.isEmpty()) { - if (folder->isBusy()) { + if (folder->isSyncRunning()) { folder->slotTerminateSync(); } //The part that changed should not be read from the DB on next sync because there might be new folders @@ -1154,7 +1154,7 @@ void FolderStatusModel::slotSyncAllPendingBigFolders() folder->journalDb()->setSelectiveSyncList(SyncJournalDb::SelectiveSyncUndecidedList, QStringList()); // Trigger a sync - if (folder->isBusy()) { + if (folder->isSyncRunning()) { folder->slotTerminateSync(); } // The part that changed should not be read from the DB on next sync because there might be new folders |