]> git.sesse.net Git - vlc/commitdiff
Use RGB instead of Qt:White.
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 6 Apr 2008 20:11:02 +0000 (13:11 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 6 Apr 2008 20:11:02 +0000 (13:11 -0700)
modules/gui/qt4/util/input_slider.cpp

index a6c95207ded1841047b01c510f696b473fa050e3..3b294d8d16467e07b3a0e40eee194d557ef661c3 100644 (file)
@@ -134,7 +134,7 @@ SoundSlider::SoundSlider( QWidget *_parent, int _i_step, bool b_hard )
     pixGradient = QPixmap( mask.size() );
 
     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.5, QColor( 255, 176, 15 ) );
     gradient.setColorAt( 1.0, QColor( 235, 30, 20 ) );