summaryrefslogtreecommitdiffhomepage
path: root/options
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-12-24 23:10:20 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-12-24 23:10:20 +0100
commitf3e4cbfdfb7aa9fed6f36597ce1f880240e6b40e (patch)
treec95342d43f8b06713b4ceb69cb11cd153d91e598 /options
parent24117ee74b7c4dfd982af9b94915cba505fd64e6 (diff)
options/tie: fix wrong signal listened to
Fixes sliders remaining at same position when changing profile and thus, their values.
Diffstat (limited to 'options')
-rw-r--r--options/tie.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/tie.hpp b/options/tie.hpp
index 942c6098..49b8fd1b 100644
--- a/options/tie.hpp
+++ b/options/tie.hpp
@@ -150,7 +150,7 @@ inline void tie_setting(value<slider_value>& v, QSlider* w)
},
v.DIRECT_CONNTYPE);
base_value::connect(&v,
- static_cast<void(base_value::*)(double) const>(&base_value::valueChanged),
+ static_cast<void(base_value::*)(const slider_value&) const>(&base_value::valueChanged),
w,
[=, &v](double) {
const int q_min = w->minimum();