mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 10:09:36 -06:00
Qt: use Settings::EmulationStateChanged
This commit is contained in:
@ -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);
|
||||
});
|
||||
}
|
||||
|
@ -54,7 +54,6 @@ public:
|
||||
void SetMD5Result(int pid, const std::string& result) override;
|
||||
void AbortMD5() override;
|
||||
signals:
|
||||
void EmulationStopped();
|
||||
void Boot(const QString& filename);
|
||||
void Stop();
|
||||
|
||||
|
Reference in New Issue
Block a user