diff --git a/src/organize/organizedialog.cpp b/src/organize/organizedialog.cpp index b196097fa..814d1b933 100644 --- a/src/organize/organizedialog.cpp +++ b/src/organize/organizedialog.cpp @@ -397,7 +397,7 @@ bool OrganizeDialog::SetFilenames(const QStringList &filenames) { #endif QFutureWatcher *watcher = new QFutureWatcher(); watcher->setFuture(songs_future_); - QObject::connect(watcher, &QFutureWatcher::finished, this, [=]() { + QObject::connect(watcher, &QFutureWatcher::finished, this, [this, watcher]() { SetSongs(watcher->result()); watcher->deleteLater(); });