diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-10-25 17:55:27 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-10-25 17:55:27 +0200 |
commit | 83867b413c449101bbe14615ff857a7785432ede (patch) | |
tree | 3b7a7fd68da8158a97fd67db9806fa6d984ebf80 /spline/spline-widget.cpp | |
parent | 00cceaffca6063b963d0848480acaa99f5fecaad (diff) |
cleanup only
- replace warn_unused_result with [[nodiscard]]
- remove some redundant w_a_r
- replace std::decay with remove_cvref_t
- simplify compat/math.hpp
Diffstat (limited to 'spline/spline-widget.cpp')
-rw-r--r-- | spline/spline-widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spline/spline-widget.cpp b/spline/spline-widget.cpp index a4b9534f..2d66371c 100644 --- a/spline/spline-widget.cpp +++ b/spline/spline-widget.cpp @@ -49,7 +49,7 @@ void spline_widget::setConfig(base_spline* spl) update_range(); std::shared_ptr<base_spline::base_settings> s = spl->get_settings(); - connection = connect(s.get(), &spline::base_settings::recomputed, + connection = connect(s.get(), &base_spline::base_settings::recomputed, this, [this] { reload_spline(); }, Qt::QueuedConnection); } |