mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-19 19:09:58 +00:00
graphics: Set speed limit to spinbox
This commit is contained in:
parent
97674bc888
commit
df2bd251fa
1 changed files with 2 additions and 2 deletions
|
@ -239,8 +239,8 @@ void ConfigureGraphics::Setup() {
|
||||||
} else if (setting->Id() == Settings::values.use_speed_limit.Id()) {
|
} else if (setting->Id() == Settings::values.use_speed_limit.Id()) {
|
||||||
return new ConfigurationShared::Widget(
|
return new ConfigurationShared::Widget(
|
||||||
setting, translations, this, runtime_lock, apply_funcs,
|
setting, translations, this, runtime_lock, apply_funcs,
|
||||||
ConfigurationShared::RequestType::LineEdit, true, 1.0f,
|
ConfigurationShared::RequestType::SpinBox, true, 1.0f,
|
||||||
&Settings::values.speed_limit, QString::fromStdString("%"));
|
&Settings::values.speed_limit, QStringLiteral("%"));
|
||||||
} else {
|
} else {
|
||||||
return new ConfigurationShared::Widget(setting, translations, this, runtime_lock,
|
return new ConfigurationShared::Widget(setting, translations, this, runtime_lock,
|
||||||
apply_funcs);
|
apply_funcs);
|
||||||
|
|
Loading…
Reference in a new issue