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

@@ -1,3 +1,17 @@
2008-06-10 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* plugins/sf2_player/sf2_player.cpp:
enabled LCD-Spinboxes for easily switching banks/patches - I know that
this way you can select banks/patches that do not exist but opening
patch-dialog each time is much more inconvenient - maybe we can
subclass lcdSpinBox one day so that it automatically "skips" wholes
when scrolling
* include/instrument_track.h:
* src/tracks/instrument_track.cpp:
removed obsolete instrumentTrackView::updateName() and made
track-button update on name-changes
2008-06-10 Paul Giblock <drfaygo/at/gmail/dot/com>
* plugins/sf2_player/artwork.png:

View File

@@ -231,8 +231,6 @@ private slots:
void activityIndicatorPressed( void );
void activityIndicatorReleased( void );
void updateName( void );
void midiInSelected( void );
void midiOutSelected( void );
void midiConfigChanged( void );

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() )