mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
some fixes for sigc::connection mgmt and lifetime mgmt for EditingContext
This commit is contained in:
parent
c509de6814
commit
179fd25715
3 changed files with 3 additions and 2 deletions
|
|
@ -23,7 +23,7 @@
|
|||
#include "editing.h"
|
||||
#include "editing_context.h"
|
||||
|
||||
class CueEditor : public EditingContext, public PBD::HistoryOwner, public sigc::trackable
|
||||
class CueEditor : public EditingContext, public PBD::HistoryOwner
|
||||
{
|
||||
public:
|
||||
CueEditor (std::string const & name);
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ class Selection;
|
|||
class SelectionMemento;
|
||||
class SelectableOwner;
|
||||
|
||||
class EditingContext : public ARDOUR::SessionHandlePtr, public AxisViewProvider
|
||||
class EditingContext : public ARDOUR::SessionHandlePtr, public AxisViewProvider, public virtual sigc::trackable
|
||||
{
|
||||
public:
|
||||
EditingContext (std::string const &);
|
||||
|
|
|
|||
|
|
@ -100,6 +100,7 @@ Pianoroll::~Pianoroll ()
|
|||
drop_grid (); // unparent gridlines before deleting _canvas_viewport
|
||||
|
||||
delete view;
|
||||
delete bg;
|
||||
delete _canvas_viewport;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue