Commit 2c688720 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: let the native sound slider manage 200% and 400% of volume.

parent be2da4ab
...@@ -61,6 +61,8 @@ SoundWidget::SoundWidget( QWidget *_parent, intf_thread_t * _p_intf, ...@@ -61,6 +61,8 @@ SoundWidget::SoundWidget( QWidget *_parent, intf_thread_t * _p_intf,
{ {
volumeSlider = new QSlider( this ); volumeSlider = new QSlider( this );
volumeSlider->setOrientation( Qt::Horizontal ); volumeSlider->setOrientation( Qt::Horizontal );
volumeSlider->setMaximum( config_GetInt( p_intf, "qt-volume-complete" )
? 400 : 200 );
} }
volumeSlider->setMaximumSize( QSize( 200, 40 ) ); volumeSlider->setMaximumSize( QSize( 200, 40 ) );
volumeSlider->setMinimumSize( QSize( 85, 30 ) ); volumeSlider->setMinimumSize( QSize( 85, 30 ) );
......
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