From 6a90affa38b9f2378aa33110df8f4ee9ec71e8b2 Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Mon, 17 Mar 2025 20:07:45 +0000 Subject: [PATCH] Fix -Wunused-lambda-capture warning --- Source/Core/DolphinQt/Config/Graphics/HacksWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/Config/Graphics/HacksWidget.cpp b/Source/Core/DolphinQt/Config/Graphics/HacksWidget.cpp index 59aa48b30b..356a68c817 100644 --- a/Source/Core/DolphinQt/Config/Graphics/HacksWidget.cpp +++ b/Source/Core/DolphinQt/Config/Graphics/HacksWidget.cpp @@ -28,7 +28,7 @@ HacksWidget::HacksWidget(GraphicsWindow* parent) connect(parent, &GraphicsWindow::BackendChanged, this, &HacksWidget::OnBackendChanged); OnBackendChanged(QString::fromStdString(Config::Get(Config::MAIN_GFX_BACKEND))); connect(m_gpu_texture_decoding, &QCheckBox::toggled, - [this, parent] { emit parent->UseGPUTextureDecodingChanged(); }); + [parent] { emit parent->UseGPUTextureDecodingChanged(); }); } HacksWidget::HacksWidget(GameConfigWidget* parent, Config::Layer* layer) : m_game_layer(layer)