Commit 6fa511c7 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Use RGB instead of Qt:White.

parent 393ae790
...@@ -134,7 +134,7 @@ SoundSlider::SoundSlider( QWidget *_parent, int _i_step, bool b_hard ) ...@@ -134,7 +134,7 @@ SoundSlider::SoundSlider( QWidget *_parent, int _i_step, bool b_hard )
pixGradient = QPixmap( mask.size() ); pixGradient = QPixmap( mask.size() );
QLinearGradient gradient( paddingL, 4, WLENGTH + paddingL , 4 ); QLinearGradient gradient( paddingL, 4, WLENGTH + paddingL , 4 );
gradient.setColorAt( 0.0, Qt::white ); gradient.setColorAt( 0.0, QColor( 255, 255, 255 ) );
gradient.setColorAt( 0.2, QColor( 20, 226, 20 ) ); gradient.setColorAt( 0.2, QColor( 20, 226, 20 ) );
gradient.setColorAt( 0.5, QColor( 255, 176, 15 ) ); gradient.setColorAt( 0.5, QColor( 255, 176, 15 ) );
gradient.setColorAt( 1.0, QColor( 235, 30, 20 ) ); gradient.setColorAt( 1.0, QColor( 235, 30, 20 ) );
......
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