aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-10 00:20:59 -0400
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-21 10:56:54 -0400
commit442f0899a8484cc67cffc571f1eb510d71291e46 (patch)
tree43a15bc1dcb5f193c6d93b40b7aaada687cef0c6 /src
parent38683238a8f01e2acaa2841eab122c480634955f (diff)
shared_widget: Use actionTriggered for user input signals
Clicking the slider without directly interacting with the slider handle would change the value, but not trigger the restore button.
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/configuration/shared_widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/configuration/shared_widget.cpp b/src/yuzu/configuration/shared_widget.cpp
index 52e617da24..b83150f2b1 100644
--- a/src/yuzu/configuration/shared_widget.cpp
+++ b/src/yuzu/configuration/shared_widget.cpp
@@ -194,7 +194,7 @@ QWidget* Widget::CreateSlider(bool reversed, float multiplier, const QString& fo
if (!Settings::IsConfiguringGlobal()) {
restore_func = [this]() { slider->setValue(std::stoi(setting.ToStringGlobal())); };
- QObject::connect(slider, &QAbstractSlider::sliderReleased, [touch]() { touch(); });
+ QObject::connect(slider, &QAbstractSlider::actionTriggered, [touch]() { touch(); });
}
return container;