Warnings/Qt: Removed unused variable from lambda capture list.

This commit is contained in:
Subv 2020-04-10 18:40:56 -05:00
parent b80911162f
commit 47417e762b

View file

@ -1232,7 +1232,7 @@ void GMainWindow::OnGameListDumpRomFS(QString game_path, u64 program_id) {
using FutureWatcher = QFutureWatcher<std::pair<Loader::ResultStatus, Loader::ResultStatus>>; using FutureWatcher = QFutureWatcher<std::pair<Loader::ResultStatus, Loader::ResultStatus>>;
auto* future_watcher = new FutureWatcher(this); auto* future_watcher = new FutureWatcher(this);
connect(future_watcher, &FutureWatcher::finished, connect(future_watcher, &FutureWatcher::finished,
[this, program_id, dialog, base_path, update_path, future_watcher] { [this, dialog, base_path, update_path, future_watcher] {
dialog->hide(); dialog->hide();
const auto& [base, update] = future_watcher->result(); const auto& [base, update] = future_watcher->result();
if (base != Loader::ResultStatus::Success) { if (base != Loader::ResultStatus::Success) {