fixed various crashes when removing instrument-track with visible instrument-track-window or loading another instrument/preset

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@712 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-02-25 21:27:58 +00:00
parent fec4e7f5f9
commit a5010428f8
8 changed files with 41 additions and 8 deletions

View File

@@ -318,6 +318,7 @@ private:
QAction * m_midiOutputAction;
friend class instrumentTrackButton;
friend class instrumentView;
} ;

View File

@@ -29,6 +29,8 @@
#include "instrument.h"
#include "plugin_view.h"
class instrumentTrackWindow;
class instrumentView : public pluginView
{
@@ -48,6 +50,8 @@ public:
virtual void setModel( ::model * _model, bool = FALSE );
instrumentTrackWindow * getInstrumentTrackWindow( void );
} ;