summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar lat9nq2023-06-10 00:20:59 -0400
committerGravatar lat9nq2023-07-21 10:56:54 -0400
commitfe6e765b2dcb892a7b52259bac1318e5f8e30a2b (patch)
tree43a15bc1dcb5f193c6d93b40b7aaada687cef0c6 /src
parentshared_translation: Populate combobox enums with macro (diff)
downloadyuzu-fe6e765b2dcb892a7b52259bac1318e5f8e30a2b.tar.gz
yuzu-fe6e765b2dcb892a7b52259bac1318e5f8e30a2b.tar.xz
yuzu-fe6e765b2dcb892a7b52259bac1318e5f8e30a2b.zip
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 52e617da2..b83150f2b 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
194 if (!Settings::IsConfiguringGlobal()) { 194 if (!Settings::IsConfiguringGlobal()) {
195 restore_func = [this]() { slider->setValue(std::stoi(setting.ToStringGlobal())); }; 195 restore_func = [this]() { slider->setValue(std::stoi(setting.ToStringGlobal())); };
196 196
197 QObject::connect(slider, &QAbstractSlider::sliderReleased, [touch]() { touch(); }); 197 QObject::connect(slider, &QAbstractSlider::actionTriggered, [touch]() { touch(); });
198 } 198 }
199 199
200 return container; 200 return container;