EditorSnapshots does not benefit by inheriting from EditorComponent
This commit is contained in:
parent
916fc4a2ee
commit
67f55d7b4e
@ -681,7 +681,7 @@ Editor::Editor ()
|
|||||||
_routes = new EditorRoutes ();
|
_routes = new EditorRoutes ();
|
||||||
_regions = new EditorRegions (this);
|
_regions = new EditorRegions (this);
|
||||||
_sources = new EditorSources (this);
|
_sources = new EditorSources (this);
|
||||||
_snapshots = new EditorSnapshots (this);
|
_snapshots = new EditorSnapshots ();
|
||||||
_locations = new EditorLocations (this);
|
_locations = new EditorLocations (this);
|
||||||
_properties_box = new SelectionPropertiesBox ();
|
_properties_box = new SelectionPropertiesBox ();
|
||||||
|
|
||||||
|
@ -48,8 +48,7 @@ using namespace Gtk;
|
|||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
using namespace ARDOUR_UI_UTILS;
|
using namespace ARDOUR_UI_UTILS;
|
||||||
|
|
||||||
EditorSnapshots::EditorSnapshots (Editor* e)
|
EditorSnapshots::EditorSnapshots ()
|
||||||
: EditorComponent (e)
|
|
||||||
{
|
{
|
||||||
_snapshot_model = ListStore::create (_columns);
|
_snapshot_model = ListStore::create (_columns);
|
||||||
_snapshot_display.set_model (_snapshot_model);
|
_snapshot_display.set_model (_snapshot_model);
|
||||||
|
@ -27,10 +27,10 @@
|
|||||||
#include <gtkmm/treeview.h>
|
#include <gtkmm/treeview.h>
|
||||||
#include "editor_component.h"
|
#include "editor_component.h"
|
||||||
|
|
||||||
class EditorSnapshots : public EditorComponent, public ARDOUR::SessionHandlePtr
|
class EditorSnapshots : public ARDOUR::SessionHandlePtr
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
EditorSnapshots (Editor *);
|
EditorSnapshots ();
|
||||||
|
|
||||||
void set_session (ARDOUR::Session *);
|
void set_session (ARDOUR::Session *);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user