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.
}
}
_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);
}