mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Debugger: Add a Thread widget
DebugInterface: Add GetThreads WatchWidget: Update widget on AddWatch
This commit is contained in:
parent
9ffa72ad1f
commit
39d34e133f
24 changed files with 1090 additions and 12 deletions
|
@ -364,6 +364,20 @@ void Settings::SetRegistersVisible(bool enabled)
|
|||
}
|
||||
}
|
||||
|
||||
bool Settings::IsThreadsVisible() const
|
||||
{
|
||||
return GetQSettings().value(QStringLiteral("debugger/showthreads")).toBool();
|
||||
}
|
||||
|
||||
void Settings::SetThreadsVisible(bool enabled)
|
||||
{
|
||||
if (IsThreadsVisible() == enabled)
|
||||
return;
|
||||
|
||||
GetQSettings().setValue(QStringLiteral("debugger/showthreads"), enabled);
|
||||
emit ThreadsVisibilityChanged(enabled);
|
||||
}
|
||||
|
||||
bool Settings::IsRegistersVisible() const
|
||||
{
|
||||
return GetQSettings().value(QStringLiteral("debugger/showregisters")).toBool();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue