removed obsolete instrumentTrackView::updateName() and made track-button update on name-changes

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1120 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-06-10 09:17:23 +00:00
parent 6f92953374
commit 42d49faf53
3 changed files with 16 additions and 13 deletions

View File

@@ -903,6 +903,8 @@ instrumentTrackView::instrumentTrackView( instrumentTrack * _it,
connect( m_tswInstrumentTrackButton, SIGNAL( toggled( bool ) ),
this, SLOT( toggledInstrumentTrackButton( bool ) ) );
connect( _it, SIGNAL( nameChanged() ),
m_tswInstrumentTrackButton, SLOT( update() ) );
}
@@ -1011,17 +1013,6 @@ void instrumentTrackView::activityIndicatorReleased( void )
void instrumentTrackView::updateName( void )
{
#ifdef LMMS_DEBUG
assert( m_tswInstrumentTrackButton != NULL );
#endif
m_tswInstrumentTrackButton->setText( model()->name() );
}
void instrumentTrackView::midiInSelected( void )
{
if( model() )