diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-11-03 20:38:39 -0400 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-11-03 20:38:39 -0400 |
commit | 52e7e8eed3daee0de13f7ab114c87cedd3e2a46b (patch) | |
tree | 9d42f7ddf9a22651d280c63a9cad4a4a3e3f2801 /src/yuzu/configuration/configure_general.cpp | |
parent | 6664d7b2c5dcff9846e1a77ffa729a53e6261308 (diff) |
game_list: Only reload game list after relevant settings changed
Prevents unnecessary reloads on every configuration operation.
Diffstat (limited to 'src/yuzu/configuration/configure_general.cpp')
-rw-r--r-- | src/yuzu/configuration/configure_general.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu/configuration/configure_general.cpp b/src/yuzu/configuration/configure_general.cpp index 537d6e576e..8e77558fa2 100644 --- a/src/yuzu/configuration/configure_general.cpp +++ b/src/yuzu/configuration/configure_general.cpp @@ -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()); } |