From 2508a1865bf393335b1bf674a8e1e7995a313b53 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 10 Dec 2017 14:08:22 +0100 Subject: options: rename template --- spline/spline.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spline') 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(), + conn_maxx = QObject::connect(&s->opts.clamp_x_, base_value::value_changed(), ctx.get(), [&](double) { invalidate_settings(); }); - conn_maxy = QObject::connect(&s->opts.clamp_y_, base_value::signal_fun(), + conn_maxy = QObject::connect(&s->opts.clamp_y_, base_value::value_changed(), ctx.get(), [&](double) { invalidate_settings(); }); } -- cgit v1.2.3