DolphinQt: fix other widgets that use lambdas (capturing this) without setting the receiver

This commit is contained in:
iwubcode
2020-09-12 17:53:17 -05:00
parent a83bf8bc59
commit 2bb7d207b7
14 changed files with 31 additions and 31 deletions

View File

@ -96,7 +96,7 @@ void WiiPane::ConnectLayout()
connect(m_wiimote_motor, &QCheckBox::toggled, this, &WiiPane::OnSaveConfig);
// Emulation State
connect(&Settings::Instance(), &Settings::EmulationStateChanged,
connect(&Settings::Instance(), &Settings::EmulationStateChanged, this,
[=](Core::State state) { OnEmulationStateChanged(state != Core::State::Uninitialized); });
}