mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Qt/Debugger: Implement "Breakpoints" window
This commit is contained in:
@ -240,3 +240,18 @@ bool Settings::IsWatchVisible() const
|
||||
{
|
||||
return QSettings().value(QStringLiteral("debugger/showwatch")).toBool();
|
||||
}
|
||||
|
||||
void Settings::SetBreakpointsVisible(bool enabled)
|
||||
{
|
||||
if (IsBreakpointsVisible() != enabled)
|
||||
{
|
||||
QSettings().setValue(QStringLiteral("debugger/showbreakpoints"), enabled);
|
||||
|
||||
emit BreakpointsVisibilityChanged(enabled);
|
||||
}
|
||||
}
|
||||
|
||||
bool Settings::IsBreakpointsVisible() const
|
||||
{
|
||||
return QSettings().value(QStringLiteral("debugger/showbreakpoints")).toBool();
|
||||
}
|
||||
|
Reference in New Issue
Block a user