Commit 16e6cbda authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: spatializer: another useless indirect slot

parent 428b63f4
...@@ -1423,7 +1423,7 @@ Spatializer::Spatializer( intf_thread_t *_p_intf, QWidget *_parent ) ...@@ -1423,7 +1423,7 @@ Spatializer::Spatializer( intf_thread_t *_p_intf, QWidget *_parent )
spatCtrl[0]->setRange( 0, 11 ); spatCtrl[0]->setRange( 0, 11 );
for( int i = 0; i < NUM_SP_CTRL; i++ ) for( int i = 0; i < NUM_SP_CTRL; i++ )
CONNECT( spatCtrl[i], valueChanged( int ), this, setInitValues() ); CONNECT( spatCtrl[i], valueChanged( int ), this, setValues() );
/* Write down initial values */ /* Write down initial values */
vlc_object_t *p_aout = (vlc_object_t *)THEMIM->getAout(); vlc_object_t *p_aout = (vlc_object_t *)THEMIM->getAout();
...@@ -1460,11 +1460,6 @@ void Spatializer::enable() ...@@ -1460,11 +1460,6 @@ void Spatializer::enable()
playlist_EnableAudioFilter( THEPL, "spatializer", spatializerBox->isChecked() ); playlist_EnableAudioFilter( THEPL, "spatializer", spatializerBox->isChecked() );
} }
void Spatializer::setInitValues()
{
setValues();
}
void Spatializer::setValues() void Spatializer::setValues()
{ {
vlc_object_t *p_aout = (vlc_object_t *)THEMIM->getAout(); vlc_object_t *p_aout = (vlc_object_t *)THEMIM->getAout();
......
...@@ -160,11 +160,9 @@ private: ...@@ -160,11 +160,9 @@ private:
void addCallbacks( vlc_object_t * ); void addCallbacks( vlc_object_t * );
intf_thread_t *p_intf; intf_thread_t *p_intf;
void setValues();
private slots: private slots:
void enable(); void enable();
void setInitValues(); void setValues();
}; };
class SyncWidget : public QWidget class SyncWidget : public QWidget
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment