From 4e03f244450cbfd8a5a1cf429515ce0194f66262 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 21 Oct 2017 14:23:12 +0200 Subject: spline/widget: remove dead code --- spline/spline-widget.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spline/spline-widget.cpp b/spline/spline-widget.cpp index ba0aa44c..68d009c5 100644 --- a/spline/spline-widget.cpp +++ b/spline/spline-widget.cpp @@ -60,10 +60,6 @@ void spline_widget::setConfig(spline* spl) if (spl) { update_range(); - { - QList pts = _config->get_points(); - _config->ensure_valid(pts); - } std::shared_ptr s = spl->get_settings(); connection = connect(s.get(), &spline::settings::recomputed, -- cgit v1.2.3