mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Debugger: Add a Thread widget
DebugInterface: Add GetThreads WatchWidget: Update widget on AddWatch
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user