aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_system.cpp
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-15 16:45:42 -0400
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-21 10:56:54 -0400
commita7ee9d999f612dcf5e9fcf68b410a3b49039d8ed (patch)
tree5231b80e8ec0e0423a7478f988ea98bbf975a3bd /src/yuzu/configuration/configure_system.cpp
parent6935332cbab11b08ce6b644c48c6d82e94bd90f9 (diff)
configuration: Use shorter constructor as needed
Reduces some confusion hopefully, since some parameters specified were not specific to the setting in question.
Diffstat (limited to 'src/yuzu/configuration/configure_system.cpp')
-rw-r--r--src/yuzu/configuration/configure_system.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/yuzu/configuration/configure_system.cpp b/src/yuzu/configuration/configure_system.cpp
index b9d58b083c..f78ed7c244 100644
--- a/src/yuzu/configuration/configure_system.cpp
+++ b/src/yuzu/configuration/configure_system.cpp
@@ -134,15 +134,14 @@ void ConfigureSystem::Setup() {
// it and custom_rtc_enabled
return new ConfigurationShared::Widget(
setting, translations, combobox_translations, this, runtime_lock, apply_funcs,
- ConfigurationShared::RequestType::DateTimeEdit, true, 1.0f,
- &Settings::values.custom_rtc_enabled);
+ &Settings::values.custom_rtc_enabled,
+ ConfigurationShared::RequestType::DateTimeEdit);
} else if (setting->Id() == Settings::values.rng_seed.Id()) {
// rng_seed needs a HexEdit (default is LineEdit), and a checkbox to manage
// it and rng_seed_enabled
return new ConfigurationShared::Widget(
setting, translations, combobox_translations, this, runtime_lock, apply_funcs,
- ConfigurationShared::RequestType::HexEdit, true, 1.0f,
- &Settings::values.rng_seed_enabled);
+ &Settings::values.rng_seed_enabled, ConfigurationShared::RequestType::HexEdit);
} else {
return new ConfigurationShared::Widget(setting, translations, combobox_translations,
this, runtime_lock, apply_funcs);