From ff75ab73cc30ffec1c27652d48daabad9f304f22 Mon Sep 17 00:00:00 2001 From: "arcum42@gmail.com" Date: Tue, 22 Feb 2022 10:52:52 -0800 Subject: [PATCH] Qt: Fix qt compilation on linux. --- pcsx2-qt/SettingWidgetBinder.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2-qt/SettingWidgetBinder.h b/pcsx2-qt/SettingWidgetBinder.h index c800ced71a..b7421a6db8 100644 --- a/pcsx2-qt/SettingWidgetBinder.h +++ b/pcsx2-qt/SettingWidgetBinder.h @@ -33,7 +33,7 @@ #include "EmuThread.h" #include "QtHost.h" -#include "SettingsDialog.h" +#include "Settings/SettingsDialog.h" namespace SettingWidgetBinder { @@ -621,7 +621,7 @@ namespace SettingWidgetBinder Accessor::setNullableIntValue(widget, std::nullopt); } - Accessor::connectValueChanged(widget, [sif, widget, section, key]() { + Accessor::connectValueChanged(widget, [&]() { if (std::optional new_value = Accessor::getNullableIntValue(widget); new_value.has_value()) { const char* string_value = to_string_function(static_cast(static_cast(new_value.value())));