Commit 8047362d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix equalizer bands display

Close #5980
parent b7c5ec05
......@@ -921,10 +921,11 @@ Equalizer::Equalizer( intf_thread_t *_p_intf, QWidget *_parent ) :
bands[i] = new QSlider( Qt::Vertical );
bands[i]->setMaximum( 400 );
bands[i]->setValue( 200 );
bands[i]->setMinimumWidth(34);
bands[i]->setMinimumWidth(36);
CONNECT( bands[i], valueChanged( int ), this, setCoreBands() );
band_texts[i] = new QLabel( band_frequencies[i] + "\n00.0dB" );
QString val = QString("%1").arg( 0.0, 5, 'f', 1 );
band_texts[i] = new QLabel( band_frequencies[i] + "\n" + val + "dB" );
band_texts[i]->setFont( smallFont );
grid->addWidget( bands[i], 0, i );
......
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