From 7c5e70ac3c1653b83d60b112855d3a83ec56b552 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Wed, 28 Oct 2015 09:53:54 +0100 Subject: [PATCH] PropagateUpload: Fix double-emission of finished #3844 --- src/libsync/propagateupload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsync/propagateupload.cpp b/src/libsync/propagateupload.cpp index 4fe2182f2..88cf153c1 100644 --- a/src/libsync/propagateupload.cpp +++ b/src/libsync/propagateupload.cpp @@ -563,7 +563,7 @@ void PropagateUploadFileQNAM::slotPutFinished() // This works around a bug in QNAM wich might reuse a non-empty buffer for the next request. qDebug() << "Forcing job abort on HTTP connection reset with Qt < 5.4.2."; _propagator->_anotherSyncNeeded = true; - done(SyncFileItem::SoftError, tr("Forcing job abort on HTTP connection reset with Qt < 5.4.2.")); + abortWithError(SyncFileItem::SoftError, tr("Forcing job abort on HTTP connection reset with Qt < 5.4.2.")); return; } #endif -- 2.30.2