diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-12-15 15:29:46 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-12-16 15:32:03 +0100 |
commit | aa3d6dd09fb2ecf4a5bf91536ca67b4f71b24613 (patch) | |
tree | 50d55ab1822ba68733325955ce6be24d82752a87 /spline/spline-widget.cpp | |
parent | 94cdd29400d739fcec664266537ecf3904a8476d (diff) |
many: switch from using std::unique_ptr<t>::get() to &*ptr
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 7a962182..d26fb13f 100644 --- a/spline/spline-widget.cpp +++ b/spline/spline-widget.cpp @@ -49,7 +49,7 @@ void spline_widget::set_config(base_spline* spl) if (spl) { std::shared_ptr<base_settings> s = spl->get_settings(); - connection = connect(s.get(), &base_settings::recomputed, + connection = connect(&*s, &base_settings::recomputed, this, [this] { reload_spline(); }, Qt::QueuedConnection); } |