diff options
author | David Robillard <d@drobilla.net> | 2007-07-17 01:48:42 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-07-17 01:48:42 +0000 |
commit | f542fa693cef524c066d9bf632ac6c12263d8fe6 (patch) | |
tree | 47d90d349ff8caa53b5b2ab6a2fedb196b072d42 /libs/ardour/midi_source.cc | |
parent | 37c74810d22f6ef392366e40a9f03dd8da16da18 (diff) |
Midi pencil undo (not yet serializable).
Formatting fixes for session.h (ie kill more of those damned 8 space expanded tabs).
git-svn-id: svn://localhost/ardour2/trunk@2135 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/midi_source.cc')
-rw-r--r-- | libs/ardour/midi_source.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/midi_source.cc b/libs/ardour/midi_source.cc index a346bfd4f2..f2a3121be2 100644 --- a/libs/ardour/midi_source.cc +++ b/libs/ardour/midi_source.cc @@ -44,7 +44,7 @@ sigc::signal<void,MidiSource *> MidiSource::MidiSourceCreated; MidiSource::MidiSource (Session& s, string name) : Source (s, name, DataType::MIDI) - , _model(new MidiModel()) + , _model(new MidiModel(s)) , _model_loaded (false) { _read_data_count = 0; @@ -53,7 +53,7 @@ MidiSource::MidiSource (Session& s, string name) MidiSource::MidiSource (Session& s, const XMLNode& node) : Source (s, node) - , _model(new MidiModel()) + , _model(new MidiModel(s)) , _model_loaded (false) { _read_data_count = 0; |