13
0

triggerbox: remove unused method

This commit is contained in:
Paul Davis 2021-12-21 18:13:50 -07:00
parent 8e86451685
commit 885f8eb5d1
2 changed files with 1 additions and 7 deletions

View File

@ -237,7 +237,6 @@ class LIBARDOUR_API Trigger : public PBD::Stateful {
void set_pending (Trigger*); void set_pending (Trigger*);
Trigger* swap_pending (Trigger*); Trigger* swap_pending (Trigger*);
void swap_notify ();
virtual SegmentDescriptor get_segment_descriptor () const = 0; virtual SegmentDescriptor get_segment_descriptor () const = 0;

View File

@ -118,12 +118,6 @@ Trigger::set_pending (Trigger* t)
} }
} }
void
Trigger::swap_notify ()
{
PropertyChanged (Properties::name);
}
Trigger* Trigger*
Trigger::swap_pending (Trigger* t) Trigger::swap_pending (Trigger* t)
{ {
@ -300,6 +294,7 @@ Trigger::set_region (boost::shared_ptr<Region> r)
if (!r) { if (!r) {
/* clear operation, no need to talk to the worker thread */ /* clear operation, no need to talk to the worker thread */
set_pending ((Trigger*) 0); set_pending ((Trigger*) 0);
request_stop ();
} else { } else {
/* load data, do analysis in another thread */ /* load data, do analysis in another thread */
TriggerBox::worker->set_region (_box, index(), r); TriggerBox::worker->set_region (_box, index(), r);