From edf0a99a8aee66f8aabd63353d5a41b96dedad79 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Wed, 18 Jan 2017 09:55:28 +0100 Subject: [PATCH] Fix compilation with Qt 4 Fixup to the change from pull request #5468 for issue #5453 --- src/libsync/propagateuploadv1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsync/propagateuploadv1.cpp b/src/libsync/propagateuploadv1.cpp index 6bd3f2223..1bffd7ff7 100644 --- a/src/libsync/propagateuploadv1.cpp +++ b/src/libsync/propagateuploadv1.cpp @@ -194,7 +194,7 @@ void PropagateUploadFileV1::slotPutFinished() if (err == QNetworkReply::OperationCanceledError && job->reply()->property("owncloud-should-soft-cancel").isValid()) { // Abort the job and try again later. // 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; + propagator()->_anotherSyncNeeded = true; abortWithError(SyncFileItem::SoftError, tr("Forcing job abort on HTTP connection reset with Qt < 5.4.2.")); return; } -- 2.30.2