mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 21:35:46 +00:00
configuration: Use shorter constructor as needed
Reduces some confusion hopefully, since some parameters specified were not specific to the setting in question.
This commit is contained in:
parent
6935332cba
commit
a7ee9d999f
3 changed files with 9 additions and 10 deletions
|
@ -253,8 +253,7 @@ void ConfigureGraphics::Setup() {
|
|||
// speed_limit needs a checkbox to set use_speed_limit, as well as a spinbox
|
||||
return new ConfigurationShared::Widget(
|
||||
setting, translations, combobox_translations, this, runtime_lock, apply_funcs,
|
||||
ConfigurationShared::RequestType::SpinBox, true, 1.0f,
|
||||
&Settings::values.use_speed_limit,
|
||||
&Settings::values.use_speed_limit, ConfigurationShared::RequestType::SpinBox,
|
||||
tr("%", "Limit speed percentage (e.g. 50%)"));
|
||||
} else {
|
||||
return new ConfigurationShared::Widget(setting, translations, combobox_translations,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue