[vlc-devel] commit: Use RGB instead of Qt:White. (Jean-Baptiste Kempf )
git version control
git at videolan.org
Sun Apr 6 22:54:16 CEST 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Apr 6 13:11:02 2008 -0700| [6fa511c7626fde29d905e050a334e243fd93ed99]
Use RGB instead of Qt:White.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6fa511c7626fde29d905e050a334e243fd93ed99
---
modules/gui/qt4/util/input_slider.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/util/input_slider.cpp b/modules/gui/qt4/util/input_slider.cpp
index a6c9520..3b294d8 100644
--- a/modules/gui/qt4/util/input_slider.cpp
+++ b/modules/gui/qt4/util/input_slider.cpp
@@ -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 ) );
More information about the vlc-devel
mailing list