game_list: Only reload game list after relevant settings changed
Prevents unnecessary reloads on every configuration operation.
This commit is contained in:
parent
4a42f5f99c
commit
cfe85bdb3d
5 changed files with 28 additions and 1 deletions
|
@ -19,6 +19,9 @@ ConfigureGeneral::ConfigureGeneral(QWidget* parent)
|
|||
|
||||
this->setConfiguration();
|
||||
|
||||
connect(ui->toggle_deepscan, &QCheckBox::stateChanged, this,
|
||||
[] { UISettings::values.is_game_list_reload_pending.exchange(true); });
|
||||
|
||||
ui->use_cpu_jit->setEnabled(!Core::System::GetInstance().IsPoweredOn());
|
||||
ui->use_docked_mode->setEnabled(!Core::System::GetInstance().IsPoweredOn());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue