Fix some warnings

This commit is contained in:
Megamouse 2023-12-13 21:45:42 +01:00
parent 24dbec71f8
commit a4bcba8971
2 changed files with 2 additions and 2 deletions

View file

@ -2284,7 +2284,7 @@ void main_window::ShowOptionalGamePreparations(const QString& title, const QStri
vlayout->addWidget(btn_box);
dlg->setLayout(vlayout);
connect(btn_box, &QDialogButtonBox::accepted, this, [=, paths = std::move(bootable_paths)]()
connect(btn_box, &QDialogButtonBox::accepted, this, [=, this, paths = std::move(bootable_paths)]()
{
const bool create_desktop_shortcuts = desk_check->isChecked();
const bool create_app_shortcut = quick_check->isChecked();