added dummyTrackContainer with dummyInstrumentTrack in order to have a default-model for cached inactive instrument-track-windows - fixes regular crashes

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@863 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-04-01 22:31:10 +00:00
parent 108f3a9a68
commit c2dbbd7fe0
8 changed files with 90 additions and 11 deletions

View File

@@ -126,6 +126,11 @@ public:
return( s_ladspaManager );
}
static dummyTrackContainer * getDummyTrackContainer( void )
{
return( s_dummyTC );
}
static float framesPerTact64th( void )
{
return( s_framesPerTact64th );

View File

@@ -223,6 +223,9 @@ public:
void freeInstrumentTrackWindow( void );
static void cleanupWindowPool( void );
private slots:
void toggledInstrumentTrackButton( bool _on );
void activityIndicatorPressed( void );

View File

@@ -46,7 +46,7 @@ public:
virtual bool isFromTrack( const track * _track ) const;
static void init( void );
static void cleanUp( void );
static void cleanup( void );
static constNotePlayHandleVector nphsOfInstrumentTrack(
const instrumentTrack * _ct );