core: Consolidate top-level system state into a singleton.
This commit is contained in:
parent
81e22ae8c7
commit
198b6c9bdd
8 changed files with 167 additions and 106 deletions
|
@ -14,7 +14,7 @@ ConfigureGeneral::ConfigureGeneral(QWidget* parent)
|
|||
ui->setupUi(this);
|
||||
this->setConfiguration();
|
||||
|
||||
ui->toggle_cpu_jit->setEnabled(!System::IsPoweredOn());
|
||||
ui->toggle_cpu_jit->setEnabled(!Core::System::GetInstance().IsPoweredOn());
|
||||
}
|
||||
|
||||
ConfigureGeneral::~ConfigureGeneral() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue