diff options
Diffstat (limited to 'spline-widget/spline-widget.cpp')
-rw-r--r-- | spline-widget/spline-widget.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spline-widget/spline-widget.cpp b/spline-widget/spline-widget.cpp index 54107bbe..6e3a95b3 100644 --- a/spline-widget/spline-widget.cpp +++ b/spline-widget/spline-widget.cpp @@ -29,6 +29,12 @@ spline_widget::spline_widget(QWidget *parent) : setMouseTracking(true); } +spline_widget::~spline_widget() +{ + if (connection) + QObject::disconnect(connection); +} + void spline_widget::setConfig(spline* spl) { if (spl != _config) |