removed publicName-properties in various classes and plugin-descriptor and use model::displayName instead
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1337 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -77,7 +77,7 @@ ladspaEffect::ladspaEffect( model * _parent,
|
||||
return;
|
||||
}
|
||||
|
||||
setPublicName( manager->getShortName( m_key ) );
|
||||
setDisplayName( manager->getShortName( m_key ) );
|
||||
|
||||
pluginInstantiation();
|
||||
|
||||
@@ -270,7 +270,7 @@ void ladspaEffect::setControl( int _control, LADSPA_Data _value )
|
||||
|
||||
void ladspaEffect::pluginInstantiation( void )
|
||||
{
|
||||
m_maxSampleRate = maxSamplerate( publicName() );
|
||||
m_maxSampleRate = maxSamplerate( displayName() );
|
||||
|
||||
ladspa2LMMS * manager = engine::getLADSPAManager();
|
||||
|
||||
|
||||
@@ -552,8 +552,6 @@ vibedView::vibedView( instrument * _instrument,
|
||||
this, SLOT( showString( Uint8 ) ) );
|
||||
|
||||
showString( 0 );
|
||||
// Get current graph-model
|
||||
graphModel * gModel = m_graph->model();
|
||||
|
||||
m_sinWaveBtn = new pixmapButton( this, tr( "Sine wave" ) );
|
||||
m_sinWaveBtn->move( 212, 24 );
|
||||
@@ -762,7 +760,7 @@ void vibedView::normalizeClicked( void )
|
||||
void vibedView::contextMenuEvent( QContextMenuEvent * )
|
||||
{
|
||||
|
||||
captionMenu contextMenu( model()->publicName() );
|
||||
captionMenu contextMenu( model()->displayName() );
|
||||
contextMenu.addAction( embed::getIconPixmap( "help" ), tr( "&Help" ),
|
||||
this, SLOT( displayHelp() ) );
|
||||
contextMenu.exec( QCursor::pos() );
|
||||
|
||||
Reference in New Issue
Block a user