summaryrefslogtreecommitdiffhomepage
path: root/spline
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-21 14:23:12 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-10-21 14:23:12 +0200
commit4e03f244450cbfd8a5a1cf429515ce0194f66262 (patch)
tree2655da7d0633b9a6dbc84f26f04dab8481356873 /spline
parenta22264f5111ff9b2c63ef8e94021d44c03e17a45 (diff)
spline/widget: remove dead code
Diffstat (limited to 'spline')
-rw-r--r--spline/spline-widget.cpp4
1 files changed, 0 insertions, 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<QPointF> pts = _config->get_points();
- _config->ensure_valid(pts);
- }
std::shared_ptr<spline::settings> s = spl->get_settings();
connection = connect(s.get(), &spline::settings::recomputed,