13
0

TriggerMaster must inherit from sigc::trackable

It connects to the ParameterChanged (sigc++) signal, and to ensure automated
disconnection on object death, sigc::trackable is required in the
inheritance tree
This commit is contained in:
Paul Davis 2022-07-07 17:29:55 -06:00
parent 97317f3f86
commit 28279e120f

View File

@ -59,7 +59,7 @@ private:
float _fraction; float _fraction;
}; };
class TriggerMaster : public ArdourCanvas::Rectangle class TriggerMaster : public ArdourCanvas::Rectangle, public sigc::trackable
{ {
public: public:
TriggerMaster (ArdourCanvas::Item* canvas); TriggerMaster (ArdourCanvas::Item* canvas);