From a196405da9fab534b5ece4d165e871d02d671b36 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 20 May 2010 22:38:12 +0000 Subject: various minor MIDI fixes: prevent duplicate note entry with mouse, show note info more often with verbose cursor, fix some crashes from click+move on notes ... lots more where this comes from git-svn-id: svn://localhost/ardour2/branches/3.0@7128 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/midi_source.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/ardour/midi_source.h') diff --git a/libs/ardour/ardour/midi_source.h b/libs/ardour/ardour/midi_source.h index 2484d3575a..c418559d6e 100644 --- a/libs/ardour/ardour/midi_source.h +++ b/libs/ardour/ardour/midi_source.h @@ -111,7 +111,7 @@ class MidiSource : virtual public Source boost::shared_ptr model() { return _model; } void set_model(boost::shared_ptr m) { _model = m; } - void drop_model() { _model.reset(); } + void drop_model(); protected: virtual void flush_midi() = 0; -- cgit v1.2.3