Merge pull request #6624 from spycrab/qt_dbg_jit

Qt/Debugger: Implement "JIT" widget
This commit is contained in:
Léo Lam
2018-05-12 13:02:47 +02:00
committed by GitHub
13 changed files with 475 additions and 1 deletions

View File

@ -376,6 +376,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)