From 885f8eb5d1a5bcae0f474cd3ed10734d18a267a1 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 21 Dec 2021 18:13:50 -0700 Subject: [PATCH] triggerbox: remove unused method --- libs/ardour/ardour/triggerbox.h | 1 - libs/ardour/triggerbox.cc | 7 +------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/libs/ardour/ardour/triggerbox.h b/libs/ardour/ardour/triggerbox.h index ba40889566..d67b1a1e73 100644 --- a/libs/ardour/ardour/triggerbox.h +++ b/libs/ardour/ardour/triggerbox.h @@ -237,7 +237,6 @@ class LIBARDOUR_API Trigger : public PBD::Stateful { void set_pending (Trigger*); Trigger* swap_pending (Trigger*); - void swap_notify (); virtual SegmentDescriptor get_segment_descriptor () const = 0; diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index 6f19ba3576..99dd30907e 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -118,12 +118,6 @@ Trigger::set_pending (Trigger* t) } } -void -Trigger::swap_notify () -{ - PropertyChanged (Properties::name); -} - Trigger* Trigger::swap_pending (Trigger* t) { @@ -300,6 +294,7 @@ Trigger::set_region (boost::shared_ptr r) if (!r) { /* clear operation, no need to talk to the worker thread */ set_pending ((Trigger*) 0); + request_stop (); } else { /* load data, do analysis in another thread */ TriggerBox::worker->set_region (_box, index(), r);