From: Christian Kamm Date: Wed, 28 Oct 2015 08:53:54 +0000 (+0100) Subject: PropagateUpload: Fix double-emission of finished #3844 X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~1488 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7c5e70ac3c1653b83d60b112855d3a83ec56b552;p=nextcloud-desktop.git PropagateUpload: Fix double-emission of finished #3844 --- 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