Skip to content

Commit b3a3f17

Browse files
committed
SyncEngine: Don't duplicate fatal errors
Previously fatal error texts were duplicated: Once they entered the SyncResult via the SyncFileItem and once via syncError(). syncError is intended for folder-wide sync issues that are not pinned to particular files. Thus that duplicated path is removed. For #5088
1 parent 23f005e commit b3a3f17

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/libsync/syncengine.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -759,10 +759,6 @@ void SyncEngine::slotItemCompleted(const SyncFileItemPtr &item)
759759
{
760760
_progressInfo->setProgressComplete(*item);
761761

762-
if (item->_status == SyncFileItem::FatalError) {
763-
syncError(item->_errorString);
764-
}
765-
766762
emit transmissionProgress(*_progressInfo);
767763
emit itemCompleted(item);
768764
}

0 commit comments

Comments
 (0)