From: allexzander Date: Wed, 7 Sep 2022 09:08:48 +0000 (+0300) Subject: Do not display error message in the activity list when aborgint the sync. X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~11^2~291^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7e53280de6a80fe326fc99ca79febc297fee29f9;p=nextcloud-desktop.git Do not display error message in the activity list when aborgint the sync. Signed-off-by: allexzander --- diff --git a/src/libsync/syncengine.cpp b/src/libsync/syncengine.cpp index 8c34ea7a2..25ad7072e 100644 --- a/src/libsync/syncengine.cpp +++ b/src/libsync/syncengine.cpp @@ -1065,8 +1065,6 @@ void SyncEngine::abort() // it can't finish and start the propagator disconnect(_discoveryPhase.data(), nullptr, this, nullptr); _discoveryPhase.take()->deleteLater(); - - Q_EMIT addErrorToGui(SyncFileItem::SoftError, tr("Synchronization has been aborted."), tr("It will resume shortly.")); qCInfo(lcEngine) << "Aborting sync in discovery..."; finalize(false); }