aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/yuzu/configuration/configure_general.cpp
diff options
context:
space:
mode:
authorlat9nq <[email protected]>2021-06-28 17:32:24 -0400
committerlat9nq <[email protected]>2021-06-28 19:13:53 -0400
commit7a8de138df35aecf760402a6b8097b4d6e0e8178 (patch)
treeb426f0e41c32ec5fa62974dd6dd8444548040749 /src/yuzu/configuration/configure_general.cpp
parentb91b76df4fe27d781bd95ddb89b78ff54df57029 (diff)
downloadyuzu-android-7a8de138df35aecf760402a6b8097b4d6e0e8178.tar.gz
yuzu-android-7a8de138df35aecf760402a6b8097b4d6e0e8178.zip
yuzu qt: Make most UISettings a BasicSetting
For simple primitive settings, moves their defaults and labels to definition time. Also fixes typo and clang-format yuzu qt: config: Fix rng_seed
Diffstat (limited to 'src/yuzu/configuration/configure_general.cpp')
-rw-r--r--src/yuzu/configuration/configure_general.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/yuzu/configuration/configure_general.cpp b/src/yuzu/configuration/configure_general.cpp
index 38edb4d8d..18f25def6 100644
--- a/src/yuzu/configuration/configure_general.cpp
+++ b/src/yuzu/configuration/configure_general.cpp
@@ -40,10 +40,10 @@ void ConfigureGeneral::SetConfiguration() {
ui->use_multi_core->setEnabled(runtime_lock);
ui->use_multi_core->setChecked(Settings::values.use_multi_core.GetValue());
- ui->toggle_check_exit->setChecked(UISettings::values.confirm_before_closing);
- ui->toggle_user_on_boot->setChecked(UISettings::values.select_user_on_boot);
- ui->toggle_background_pause->setChecked(UISettings::values.pause_when_in_background);
- ui->toggle_hide_mouse->setChecked(UISettings::values.hide_mouse);
+ ui->toggle_check_exit->setChecked(UISettings::values.confirm_before_closing.GetValue());
+ ui->toggle_user_on_boot->setChecked(UISettings::values.select_user_on_boot.GetValue());
+ ui->toggle_background_pause->setChecked(UISettings::values.pause_when_in_background.GetValue());
+ ui->toggle_hide_mouse->setChecked(UISettings::values.hide_mouse.GetValue());
ui->toggle_frame_limit->setChecked(Settings::values.use_frame_limit.GetValue());
ui->frame_limit->setValue(Settings::values.frame_limit.GetValue());