BreakpointWidget: Remove unnecessary code
PPCDebugInterface.Clear() is called by Core on shutdown instead
This commit is contained in:
parent
289637f92f
commit
b363962757
|
@ -43,11 +43,7 @@ BreakpointWidget::BreakpointWidget(QWidget* parent) : QDockWidget(parent)
|
||||||
connect(&Settings::Instance(), &Settings::EmulationStateChanged, this, [this](Core::State state) {
|
connect(&Settings::Instance(), &Settings::EmulationStateChanged, this, [this](Core::State state) {
|
||||||
UpdateButtonsEnabled();
|
UpdateButtonsEnabled();
|
||||||
if (state == Core::State::Uninitialized)
|
if (state == Core::State::Uninitialized)
|
||||||
{
|
|
||||||
PowerPC::breakpoints.Clear();
|
|
||||||
PowerPC::memchecks.Clear();
|
|
||||||
Update();
|
Update();
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
connect(&Settings::Instance(), &Settings::BreakpointsVisibilityChanged, this,
|
connect(&Settings::Instance(), &Settings::BreakpointsVisibilityChanged, this,
|
||||||
|
|
Loading…
Reference in New Issue