mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 01:49:33 -06:00
DolphinQt: fix other widgets that use lambdas (capturing this) without setting the receiver
This commit is contained in:
@ -41,10 +41,10 @@ ThreadWidget::ThreadWidget(QWidget* parent) : QDockWidget(parent)
|
||||
|
||||
connect(Host::GetInstance(), &Host::UpdateDisasmDialog, this, &ThreadWidget::Update);
|
||||
|
||||
connect(&Settings::Instance(), &Settings::ThreadsVisibilityChanged,
|
||||
connect(&Settings::Instance(), &Settings::ThreadsVisibilityChanged, this,
|
||||
[this](bool visible) { setHidden(!visible); });
|
||||
|
||||
connect(&Settings::Instance(), &Settings::DebugModeToggled, [this](bool enabled) {
|
||||
connect(&Settings::Instance(), &Settings::DebugModeToggled, this, [this](bool enabled) {
|
||||
setHidden(!enabled || !Settings::Instance().IsThreadsVisible());
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user