cleanups, fixed broken connection for "Add"-button
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@898 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -66,15 +66,9 @@ effectSelectDialog::effectSelectDialog( QWidget * _parent ) :
|
||||
QPushButton * select_btn = new QPushButton(
|
||||
embed::getIconPixmap( "add" ),
|
||||
tr( "Add" ), buttons );
|
||||
connect( select_btn, SIGNAL( activated() ),
|
||||
connect( select_btn, SIGNAL( clicked() ),
|
||||
this, SLOT( selectPlugin() ) );
|
||||
|
||||
/* QPushButton * ports_btn = new QPushButton(
|
||||
embed::getIconPixmap("ports" ),
|
||||
tr( "Ports" ), buttons );
|
||||
connect( ports_btn, SIGNAL( clicked() ),
|
||||
this, SLOT( showPorts() ) );
|
||||
*/
|
||||
QPushButton * cancel_btn = new QPushButton(
|
||||
embed::getIconPixmap( "cancel" ),
|
||||
tr( "Cancel" ), buttons );
|
||||
@@ -84,8 +78,6 @@ effectSelectDialog::effectSelectDialog( QWidget * _parent ) :
|
||||
btn_layout->addStretch();
|
||||
btn_layout->addSpacing( 10 );
|
||||
btn_layout->addWidget( select_btn );
|
||||
/* btn_layout->addSpacing( 10 );
|
||||
btn_layout->addWidget( ports_btn );*/
|
||||
btn_layout->addSpacing( 10 );
|
||||
btn_layout->addWidget( cancel_btn );
|
||||
btn_layout->addSpacing( 10 );
|
||||
@@ -123,15 +115,6 @@ effect * effectSelectDialog::instantiateSelectedPlugin( effectChain * _parent )
|
||||
|
||||
|
||||
|
||||
void effectSelectDialog::showPorts( void )
|
||||
{
|
||||
/* ladspaPortDialog ports( m_currentSelection );
|
||||
ports.exec();*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void effectSelectDialog::setSelection( const effectKey & _selection )
|
||||
{
|
||||
m_currentSelection = _selection;
|
||||
|
||||
Reference in New Issue
Block a user