mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 13:25:52 +03:00
fix warnings reported by Qt
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
4cb87f59f5
commit
5c7b6e7af4
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ void PropagateRemoteDeleteEncryptedRootFolder::slotDeleteNestedRemoteItemFinishe
|
|||
if (_nestedItems.size() == 0) {
|
||||
// we wait for all _nestedItems' DeleteJobs to finish, and then - fail if any of those jobs has failed
|
||||
if (networkError() != QNetworkReply::NetworkError::NoError || _item->_httpErrorCode != 0) {
|
||||
const int errorCode = networkError() != QNetworkReply::NetworkError::NoError ? networkError() : _item->_httpErrorCode;
|
||||
const auto errorCode = (networkError() != QNetworkReply::NetworkError::NoError ? static_cast<int>(networkError()) : _item->_httpErrorCode);
|
||||
qCCritical(PROPAGATE_REMOVE_ENCRYPTED_ROOTFOLDER) << "Delete of nested items finished with error" << errorCode << ". Failing the entire sequence.";
|
||||
taskFailed();
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue