|
@@ -250,12 +250,6 @@ void ConfigureGraphics::Setup() {
|
|
|
setting, translations, combobox_translations, this, runtime_lock, apply_funcs,
|
|
setting, translations, combobox_translations, this, runtime_lock, apply_funcs,
|
|
|
ConfigurationShared::RequestType::ReverseSlider, true, 0.5f, nullptr,
|
|
ConfigurationShared::RequestType::ReverseSlider, true, 0.5f, nullptr,
|
|
|
tr("%1%", "FSR sharpening percentage (e.g. 50%)"));
|
|
tr("%1%", "FSR sharpening percentage (e.g. 50%)"));
|
|
|
- } else if (setting->Id() == Settings::values.speed_limit.Id()) {
|
|
|
|
|
- // 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,
|
|
|
|
|
- &Settings::values.use_speed_limit, ConfigurationShared::RequestType::SpinBox,
|
|
|
|
|
- tr("%", "Limit speed percentage (e.g. 50%)"));
|
|
|
|
|
} else {
|
|
} else {
|
|
|
return new ConfigurationShared::Widget(setting, translations, combobox_translations,
|
|
return new ConfigurationShared::Widget(setting, translations, combobox_translations,
|
|
|
this, runtime_lock, apply_funcs);
|
|
this, runtime_lock, apply_funcs);
|