From 14ff3534a8c9806761dc4bfde2ebdcce06855b3c Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Mon, 28 May 2018 14:55:10 +0200 Subject: [PATCH] Fix compilation warning propagateuploadng.cpp:500:10: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] --- src/libsync/propagateuploadng.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsync/propagateuploadng.cpp b/src/libsync/propagateuploadng.cpp index 279476e6a..ba62d39ad 100644 --- a/src/libsync/propagateuploadng.cpp +++ b/src/libsync/propagateuploadng.cpp @@ -488,7 +488,7 @@ void PropagateUploadFileNG::abort(PropagatorJob::AbortType abortType) { abortNetworkJobs( abortType, - [this, abortType](AbstractNetworkJob *job) { + [abortType](AbstractNetworkJob *job) { return abortType != AbortType::Asynchronous || !qobject_cast(job); }); }