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:
@@ -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() )
|
||||
|
||||
Reference in New Issue
Block a user