From df2bd251faa39b9f368110f0fb7f92f7eea4d8d2 Mon Sep 17 00:00:00 2001 From: lat9nq <22451773+lat9nq@users.noreply.github.com> Date: Tue, 9 May 2023 15:46:23 -0400 Subject: [PATCH] graphics: Set speed limit to spinbox --- src/yuzu/configuration/configure_graphics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/yuzu/configuration/configure_graphics.cpp b/src/yuzu/configuration/configure_graphics.cpp index 5132c4796..d1ec2bae3 100644 --- a/src/yuzu/configuration/configure_graphics.cpp +++ b/src/yuzu/configuration/configure_graphics.cpp @@ -239,8 +239,8 @@ void ConfigureGraphics::Setup() { } else if (setting->Id() == Settings::values.use_speed_limit.Id()) { return new ConfigurationShared::Widget( setting, translations, this, runtime_lock, apply_funcs, - ConfigurationShared::RequestType::LineEdit, true, 1.0f, - &Settings::values.speed_limit, QString::fromStdString("%")); + ConfigurationShared::RequestType::SpinBox, true, 1.0f, + &Settings::values.speed_limit, QStringLiteral("%")); } else { return new ConfigurationShared::Widget(setting, translations, this, runtime_lock, apply_funcs);