summaryrefslogtreecommitdiffhomepage
path: root/spline/spline.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-06-22 12:45:13 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-06-26 23:00:13 +0200
commit0e0443e6e13414bf436912c24c7c0ecdbb3f82f3 (patch)
tree67f95406a45ddd32c87e4b5e51446a9172fc15fe /spline/spline.cpp
parent59604eb57a3fdc776f63d19e30659c6256eefa5a (diff)
spline/widget: use more modern C++ syntax
Diffstat (limited to 'spline/spline.cpp')
-rw-r--r--spline/spline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/spline/spline.cpp b/spline/spline.cpp
index e32cfd0c..ad2ea6b3 100644
--- a/spline/spline.cpp
+++ b/spline/spline.cpp
@@ -348,7 +348,7 @@ void spline::set_bundle(bundle b, const QString& axis_name, Axis axis)
if (b)
{
connection = QObject::connect(b.get(), &bundle_::changed,
- s.get(), [&]() { invalidate_settings(); });
+ 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::value_changed<int>(),