diff --git a/ChangeLog b/ChangeLog index 72fb323b8..7ef1bc1bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2008-04-07 Tobias Doerffel + * 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: diff --git a/include/effect_select_dialog.h b/include/effect_select_dialog.h index 6991359f8..9057619e8 100644 --- a/include/effect_select_dialog.h +++ b/include/effect_select_dialog.h @@ -48,8 +48,8 @@ public: effect * instantiateSelectedPlugin( effectChain * _parent ); + public slots: - void showPorts( void ); void setSelection( const effectKey & _selection ); void selectPlugin( void ); diff --git a/src/gui/effect_select_dialog.cpp b/src/gui/effect_select_dialog.cpp index c2da31e30..6c7d14c9d 100644 --- a/src/gui/effect_select_dialog.cpp +++ b/src/gui/effect_select_dialog.cpp @@ -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;