diff --git a/src/libsync/discoveryphase.cpp b/src/libsync/discoveryphase.cpp index 59d25d13c..0e842906e 100644 --- a/src/libsync/discoveryphase.cpp +++ b/src/libsync/discoveryphase.cpp @@ -186,8 +186,8 @@ QPair DiscoveryPhase::findAndCancelDeletedJob(const QString &o qCWarning(lcDiscovery) << "(*it)->_type" << (*it)->_type; qCWarning(lcDiscovery) << "(*it)->_isRestoration " << (*it)->_isRestoration; Q_ASSERT(false); - addErrorToGui(SyncFileItem::Status::FatalError, tr("Error while canceling delete of a file"), originalPath); - emit fatalError(tr("Error while canceling delete of %1").arg(originalPath)); + addErrorToGui(SyncFileItem::Status::FatalError, tr("Error while canceling deletion of a file"), originalPath); + emit fatalError(tr("Error while canceling deletion of %1").arg(originalPath)); } (*it)->_instruction = CSYNC_INSTRUCTION_NONE; result = true;