do not crash when removing TCOs
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@971 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2008-05-13 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
|
||||
|
||||
* src/core/track.cpp:
|
||||
do not crash when removing TCOs
|
||||
|
||||
* plugins/ladspa_effect/ladspa_effect.cpp:
|
||||
use new resampling-methods in case we're processing plugins which are
|
||||
known not to work at higher samplerates
|
||||
|
||||
@@ -268,7 +268,7 @@ bool trackContentObjectView::close( void )
|
||||
void trackContentObjectView::remove( void )
|
||||
{
|
||||
// delete ourself
|
||||
m_trackView->getTrackContentWidget()->removeTCOView( this );
|
||||
close();
|
||||
m_tco->deleteLater();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user