mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 22:05:47 +00:00
core: Consolidate top-level system state into a singleton.
This commit is contained in:
parent
fdcff791c3
commit
98bf7cc82f
8 changed files with 167 additions and 106 deletions
|
@ -24,7 +24,7 @@ ConfigureSystem::ConfigureSystem(QWidget* parent) : QWidget(parent), ui(new Ui::
|
|||
ConfigureSystem::~ConfigureSystem() {}
|
||||
|
||||
void ConfigureSystem::setConfiguration() {
|
||||
enabled = !System::IsPoweredOn();
|
||||
enabled = !Core::System::GetInstance().IsPoweredOn();
|
||||
|
||||
if (!enabled) {
|
||||
ReadSystemSettings();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue