Fix more compilation errors with Qt 4
authorOlivier Goffart <ogoffart@woboq.com>
Wed, 18 Jan 2017 09:19:05 +0000 (10:19 +0100)
committerOlivier Goffart <ogoffart@woboq.com>
Wed, 18 Jan 2017 09:19:51 +0000 (10:19 +0100)
Ammand last commit which was a fixup to the change from pull request #5468
for issue #5453

src/libsync/propagateuploadng.cpp
src/libsync/propagatorjobs.cpp

index cf8400cf029181e8a9d71c2fb2f507baa52e32a0..09891b65b857a3013f022124719aa1efae3a1de9 100644 (file)
@@ -358,7 +358,7 @@ void PropagateUploadFileNG::slotPutFinished()
         // 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;
     }
index f35af90c773b497f424b4d013005f765215b2ea1..771b282ada988a6ef007304893587c6ee0719fff 100644 (file)
@@ -46,7 +46,7 @@ namespace OCC {
  * in the database.  But in case of error, we need to remove the entries from the database of the files
  * that were deleted.
  *
- * \a path is relative to _propagator->_localDir + _item->_file and should start with a slash
+ * \a path is relative to propagator()->_localDir + _item->_file and should start with a slash
  */
 bool PropagateLocalRemove::removeRecursively(const QString& path)
 {