Commit ad218763 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: Compressor: remove useless method parameter

parent 65ff3566
......@@ -1315,7 +1315,7 @@ Compressor::Compressor( intf_thread_t *_p_intf, QWidget *_parent )
compressorBox->setChecked( false );
free( psz_af );
updateSliders( controlVars );
updateSliders();
setValues();
}
......@@ -1324,14 +1324,14 @@ void Compressor::enable()
playlist_EnableAudioFilter( THEPL, "compressor", compressorBox->isChecked() );
}
void Compressor::updateSliders( float * p_controlVars )
void Compressor::updateSliders()
{
for( int i = 0 ; i < NUM_CP_CTRL ; i++ )
{
if( oldControlVars[i] != p_controlVars[i] )
if( oldControlVars[i] != controlVars[i] )
{
compCtrl[i]->setValue(
(int)( p_controlVars[i] / comp_controls[i].f_resolution ) );
(int)( controlVars[i] / comp_controls[i].f_resolution ) );
}
}
}
......
......@@ -143,7 +143,7 @@ private:
intf_thread_t *p_intf;
void updateSliders(float *);
void updateSliders();
private slots:
void enable();
......
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