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:
Tobias Doerffel
2008-04-07 21:50:52 +00:00
parent aa5974bb02
commit bd6ff6d9bb
3 changed files with 10 additions and 19 deletions

View File

@@ -1,5 +1,13 @@
2008-04-07 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* configure.in:
integrated changes from libsamplerate-0.1.3/configure.ac
* include/effect_select_dialog.h:
* src/gui/effect_select_dialog.cpp:
- cleanups
- fixed broken connection for "Add"-button
* src/3rdparty/samplerate/common.h:
* src/3rdparty/samplerate/fastest_coeffs.h:
* src/3rdparty/samplerate/float_cast.h:

View File

@@ -48,8 +48,8 @@ public:
effect * instantiateSelectedPlugin( effectChain * _parent );
public slots:
void showPorts( void );
void setSelection( const effectKey & _selection );
void selectPlugin( void );

View File

@@ -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;