mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 23:29:17 +00:00
Qt/Debugger: Implement "Watch" window
This commit is contained in:
parent
ec37ce093f
commit
08716be43b
10 changed files with 397 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue