mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Qt/Debugger: Implement "Watch" window
This commit is contained in:
@ -225,3 +225,18 @@ bool Settings::IsRegistersVisible() const
|
||||
{
|
||||
return QSettings().value(QStringLiteral("debugger/showregisters")).toBool();
|
||||
}
|
||||
|
||||
void Settings::SetWatchVisible(bool enabled)
|
||||
{
|
||||
if (IsWatchVisible() != enabled)
|
||||
{
|
||||
QSettings().setValue(QStringLiteral("debugger/showwatch"), enabled);
|
||||
|
||||
emit WatchVisibilityChanged(enabled);
|
||||
}
|
||||
}
|
||||
|
||||
bool Settings::IsWatchVisible() const
|
||||
{
|
||||
return QSettings().value(QStringLiteral("debugger/showwatch")).toBool();
|
||||
}
|
||||
|
Reference in New Issue
Block a user