diff --git a/src/gui/folder.cpp b/src/gui/folder.cpp index adfd0a9551cb9..7a53ecbd0467c 100644 --- a/src/gui/folder.cpp +++ b/src/gui/folder.cpp @@ -1521,8 +1521,6 @@ void Folder::slotHydrationFailed(int errorCode, int statusCode, const QString &e .arg(errorCode) .arg(statusCode) .arg(errorString); - const auto errorCategory = statusCode != 200 && statusCode != 204 ? ErrorCategory::NetworkError : ErrorCategory::GenericError; - slotSyncError(errorMessageDetails, errorCategory); const auto errorMessageBox = new VfsDownloadErrorDialog(fileName, errorMessageDetails);