summaryrefslogtreecommitdiffhomepage
path: root/spline
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-12-10 14:08:22 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-12-10 14:08:22 +0100
commit2508a1865bf393335b1bf674a8e1e7995a313b53 (patch)
tree83e5d62ea010a32616f984d987d12834ebde2bd3 /spline
parente6412ba2e9dc6c56664dbcf81ef299499434891a (diff)
options: rename template
Diffstat (limited to 'spline')
-rw-r--r--spline/spline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/spline/spline.cpp b/spline/spline.cpp
index d58d7c21..4a5da6f3 100644
--- a/spline/spline.cpp
+++ b/spline/spline.cpp
@@ -360,9 +360,9 @@ void spline::set_bundle(bundle b, const QString& axis_name, Axis axis)
s.get(), [&]() { invalidate_settings(); });
// this isn't strictly necessary for the spline but helps the widget
- conn_maxx = QObject::connect(&s->opts.clamp_x_, base_value::signal_fun<int>(),
+ conn_maxx = QObject::connect(&s->opts.clamp_x_, base_value::value_changed<int>(),
ctx.get(), [&](double) { invalidate_settings(); });
- conn_maxy = QObject::connect(&s->opts.clamp_y_, base_value::signal_fun<int>(),
+ conn_maxy = QObject::connect(&s->opts.clamp_y_, base_value::value_changed<int>(),
ctx.get(), [&](double) { invalidate_settings(); });
}