mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
Qt: use Settings::EmulationStateChanged
This commit is contained in:
parent
8e805dcbf4
commit
3e1072b24d
22 changed files with 97 additions and 160 deletions
|
@ -188,8 +188,8 @@ void NetPlayDialog::ConnectWidgets()
|
|||
}
|
||||
});
|
||||
|
||||
connect(this, &NetPlayDialog::EmulationStopped, this, [this] {
|
||||
if (isVisible())
|
||||
connect(&Settings::Instance(), &Settings::EmulationStateChanged, this, [=](Core::State state) {
|
||||
if (state == Core::State::Uninitialized && isVisible())
|
||||
GameStatusChanged(false);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue