diff options
author | Robin Gareus <robin@gareus.org> | 2015-08-19 13:49:30 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-08-19 14:27:14 +0200 |
commit | 11f51497f365ca55065834e86169ddd6605e4f9b (patch) | |
tree | 8af78fcac04562a32a18c7e14ddb627c9bdba0f0 /gtk2_ardour/processor_box.h | |
parent | bb79071038779057630e2244379f26af782c7852 (diff) |
provisional processor control-box tweaks - possible fix for #6519
ControlBoxes are created/destroyed regularly (plugin re-order,
track selection -> Editor Mixer,...).
Properly disconnect the timer signal in the dtor and skip updateing the
tooltip unnecessarily (duplicate calls, Changed & Timer).
This should really be undone, the timer needs to be removed and Changed() used throughout.
Diffstat (limited to 'gtk2_ardour/processor_box.h')
-rw-r--r-- | gtk2_ardour/processor_box.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/processor_box.h b/gtk2_ardour/processor_box.h index a76970b721..fcc70a6074 100644 --- a/gtk2_ardour/processor_box.h +++ b/gtk2_ardour/processor_box.h @@ -169,6 +169,7 @@ private: class Control : public sigc::trackable { public: Control (boost::shared_ptr<ARDOUR::AutomationControl>, std::string const &); + ~Control (); void set_visible (bool); void add_state (XMLNode *) const; @@ -203,6 +204,7 @@ private: PBD::ScopedConnection _connection; bool _visible; std::string _name; + sigc::connection timer_connection; }; std::list<Control*> _controls; |