mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Fix compilation warning
src/libsync/propagatorjobs.cpp:63:10: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] [this, &deleted](const QString &path, bool isDir) { ^~~~~
This commit is contained in:
parent
d87c2b803d
commit
47b2913357
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ bool PropagateLocalRemove::removeRecursively(const QString &path)
|
|||
QList<QPair<QString, bool>> deleted;
|
||||
bool success = FileSystem::removeRecursively(
|
||||
absolute,
|
||||
[this, &deleted](const QString &path, bool isDir) {
|
||||
[&deleted](const QString &path, bool isDir) {
|
||||
// by prepending, a folder deletion may be followed by content deletions
|
||||
deleted.prepend(qMakePair(path, isDir));
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue