mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-18 00:09:11 +00:00
Merge pull request #13861 from Tilka/unused_lambda_captures
DolphinQt: fix two -Wunused-lambda-capture warnings
This commit is contained in:
commit
72ef27c157
2 changed files with 3 additions and 5 deletions
|
@ -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 "
|
||||||
|
|
|
@ -397,7 +397,7 @@ static void SubtractBlend(u8* srcClr, u8* dstClr)
|
||||||
|
|
||||||
static void Dither(u16 x, u16 y, u8* color)
|
static void Dither(u16 x, u16 y, u8* color)
|
||||||
{
|
{
|
||||||
// No blending for RGB8 mode
|
// No dithering for RGB8 mode
|
||||||
if (!bpmem.blendmode.dither || bpmem.zcontrol.pixel_format != PixelFormat::RGBA6_Z24)
|
if (!bpmem.blendmode.dither || bpmem.zcontrol.pixel_format != PixelFormat::RGBA6_Z24)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue