Qt/Debugger: Implement "JIT" widget

This commit is contained in:
spycrab
2018-04-09 15:31:20 +02:00
parent dabfecfd74
commit 1dfcffcce2
13 changed files with 475 additions and 1 deletions

View File

@ -319,6 +319,20 @@ bool Settings::IsMemoryVisible() const
return QSettings().value(QStringLiteral("debugger/showmemory")).toBool();
}
void Settings::SetJITVisible(bool enabled)
{
if (IsJITVisible() == enabled)
return;
QSettings().setValue(QStringLiteral("debugger/showjit"), enabled);
emit JITVisibilityChanged(enabled);
}
bool Settings::IsJITVisible() const
{
return QSettings().value(QStringLiteral("debugger/showjit")).toBool();
}
void Settings::SetDebugFont(QFont font)
{
if (GetDebugFont() != font)