Do not display error message in the activity list when aborgint the sync.

Signed-off-by: allexzander <blackslayer4@gmail.com>
This commit is contained in:
allexzander 2022-09-07 12:08:48 +03:00
parent 1b98733b1a
commit 7e53280de6

View file

@ -1065,8 +1065,6 @@ void SyncEngine::abort()
// it can't finish and start the propagator // it can't finish and start the propagator
disconnect(_discoveryPhase.data(), nullptr, this, nullptr); disconnect(_discoveryPhase.data(), nullptr, this, nullptr);
_discoveryPhase.take()->deleteLater(); _discoveryPhase.take()->deleteLater();
Q_EMIT addErrorToGui(SyncFileItem::SoftError, tr("Synchronization has been aborted."), tr("It will resume shortly."));
qCInfo(lcEngine) << "Aborting sync in discovery..."; qCInfo(lcEngine) << "Aborting sync in discovery...";
finalize(false); finalize(false);
} }