summaryrefslogtreecommitdiffhomepage
path: root/spline/spline-widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'spline/spline-widget.cpp')
-rw-r--r--spline/spline-widget.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/spline/spline-widget.cpp b/spline/spline-widget.cpp
index 9a0ae08e..960ba3aa 100644
--- a/spline/spline-widget.cpp
+++ b/spline/spline-widget.cpp
@@ -25,16 +25,7 @@
#include <cmath>
#include <algorithm>
-spline_widget::spline_widget(QWidget *parent) :
- QWidget(parent),
- _config(nullptr),
- snap_x(0),
- snap_y(0),
- _x_step(10),
- _y_step(10),
- moving_control_point_idx(-1),
- _draw_function(true),
- _preview_only(false)
+spline_widget::spline_widget(QWidget *parent) : QWidget(parent)
{
setMouseTracking(true);
setFocusPolicy(Qt::ClickFocus);