DolphinQt: fix two -Wunused-lambda-capture warnings

This commit is contained in:
Tillmann Karras 2025-08-10 19:24:38 +01:00
commit df3dc80190

View file

@ -132,8 +132,7 @@ void AdvancedPane::CreateLayout()
}; };
cpu_text(); cpu_text();
connect(m_cpu_clock_override_slider, &QSlider::valueChanged, this, connect(m_cpu_clock_override_slider, &QSlider::valueChanged, this, cpu_text);
[this, cpu_text]() { cpu_text(); });
m_cpu_clock_override_checkbox->SetDescription( m_cpu_clock_override_checkbox->SetDescription(
tr("Adjusts the emulated CPU's clock rate.<br><br>" tr("Adjusts the emulated CPU's clock rate.<br><br>"
@ -177,8 +176,7 @@ void AdvancedPane::CreateLayout()
}; };
vi_text(); vi_text();
connect(m_vi_rate_override_slider, &QSlider::valueChanged, this, connect(m_vi_rate_override_slider, &QSlider::valueChanged, this, vi_text);
[this, vi_text]() { vi_text(); });
m_vi_rate_override_checkbox->SetDescription( m_vi_rate_override_checkbox->SetDescription(
tr("Adjusts the VBI frequency. Also adjusts the emulated CPU's " tr("Adjusts the VBI frequency. Also adjusts the emulated CPU's "