Qt/Settings: Implement ControllerStateNeeded

This commit is contained in:
spycrab
2018-02-06 23:12:17 +01:00
parent 51d3de6787
commit 87d7c994e7
3 changed files with 15 additions and 1 deletions

View File

@ -269,3 +269,13 @@ bool Settings::IsBreakpointsVisible() const
{
return QSettings().value(QStringLiteral("debugger/showbreakpoints")).toBool();
}
bool Settings::IsControllerStateNeeded() const
{
return m_controller_state_needed;
}
void Settings::SetControllerStateNeeded(bool needed)
{
m_controller_state_needed = needed;
}