зеркало из https://github.com/nextcloud/desktop.git
Don't show parent folders in the error list #3796
The error status of children should only be used for the etag logic. The SocketApi uses a path matching system to do this and the UI should report errors only for individual involved files/directories.
This commit is contained in:
Родитель
a63ebe0904
Коммит
2f355c473a
|
@ -663,7 +663,10 @@ void PropagateDirectory::finalize()
|
|||
}
|
||||
}
|
||||
_state = Finished;
|
||||
_item->_status = _hasError == SyncFileItem::NoStatus ? SyncFileItem::Success : _hasError;
|
||||
// Just to make sure that the SocketApi will know by looking in
|
||||
// SyncEngine::_syncedItems that this folder is done synchronizing.
|
||||
_item->_status = SyncFileItem::Success;
|
||||
|
||||
emit itemCompleted(*_item, *this);
|
||||
emit finished(_item->_status);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче