Commit 25040764 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt4: remove constant parameter

parent a5feda88
......@@ -90,7 +90,6 @@ SoundWidget::SoundWidget( QWidget *_parent, intf_thread_t * _p_intf,
{
volumeSlider = new SoundSlider( this,
config_GetInt( p_intf, "volume-step" ),
false,
var_InheritString( p_intf, "qt-slider-colours" ) );
}
else
......
......@@ -435,12 +435,12 @@ bool SeekSlider::isAnimationRunning() const
#define SOUNDMIN 0 // %
#define SOUNDMAX 200 // % OR 400 ?
SoundSlider::SoundSlider( QWidget *_parent, int _i_step, bool b_hard,
SoundSlider::SoundSlider( QWidget *_parent, int _i_step,
char *psz_colors )
: QAbstractSlider( _parent )
{
f_step = ( _i_step * 100 ) / AOUT_VOLUME_MAX ;
setRange( SOUNDMIN, b_hard ? (2 * SOUNDMAX) : SOUNDMAX );
setRange( SOUNDMIN, SOUNDMAX );
setMouseTracking( true );
isSliding = false;
b_mouseOutside = true;
......
......@@ -125,7 +125,7 @@ class SoundSlider : public QAbstractSlider
{
Q_OBJECT
public:
SoundSlider( QWidget *_parent, int _i_step, bool b_softamp, char * );
SoundSlider( QWidget *_parent, int _i_step, char * );
void setMuted( bool ); /* Set Mute status */
protected:
......
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