SocketAPI: do not show a progress icon in case of errors

This commit is contained in:
Olivier Goffart 2014-10-22 12:19:10 +02:00
parent d31ccacf57
commit 6073e3f345

View file

@ -805,11 +805,6 @@ void Folder::slotSyncFinished()
_stateLastSyncItemsWithError = _stateLastSyncItemsWithErrorNew;
_stateLastSyncItemsWithErrorNew.clear();
_stateTaintedFolders.clear(); // heuristic: assume the sync had been done, new file watches needed to taint dirs
if (_csyncError || _csyncUnavail) {
// Taint the whole sync dir, we cannot give reliable state information
_stateTaintedFolders.insert(QLatin1String("/"));
}
if (_csyncError) {
_syncResult.setStatus(SyncResult::Error);