vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Wed Feb 22 
01:01:30 2012 +0100| [89dd589de5ccd59ed3049a980276c6167a615afb] | committer: 
Jean-Baptiste Kempf

Qt: allow people to use a native seek bar

Close #6109

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=89dd589de5ccd59ed3049a980276c6167a615afb
---

 modules/gui/qt4/components/controller.cpp |    2 +-
 modules/gui/qt4/components/controller.hpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/controller.cpp 
b/modules/gui/qt4/components/controller.cpp
index 9c3afc9..ea55de3 100644
--- a/modules/gui/qt4/components/controller.cpp
+++ b/modules/gui/qt4/components/controller.cpp
@@ -346,7 +346,7 @@ QWidget *AbstractController::createWidget( buttonType_e 
button, int options )
         }
         break;
     case INPUT_SLIDER: {
-        SeekSlider *slider = new SeekSlider( Qt::Horizontal, NULL );
+        SeekSlider *slider = new SeekSlider( Qt::Horizontal, NULL, !b_shiny );
         SeekPoints *chapters = new SeekPoints( this, p_intf );
         CONNECT( THEMIM->getIM(), titleChanged( bool ), chapters, update() );
         slider->setChapters( chapters );
diff --git a/modules/gui/qt4/components/controller.hpp 
b/modules/gui/qt4/components/controller.hpp
index b512c9b..90d9b9c 100644
--- a/modules/gui/qt4/components/controller.hpp
+++ b/modules/gui/qt4/components/controller.hpp
@@ -37,7 +37,7 @@
 #define MAIN_TB1_DEFAULT "64;39;64;38;65"
 #define MAIN_TB2_DEFAULT "0-2;64;3;1;4;64;7;9;64;10;20;19;64-4;37;65;35-4"
 #define ADV_TB_DEFAULT "12;11;13;14"
-#define INPT_TB_DEFAULT "43;33;44"
+#define INPT_TB_DEFAULT "43;33-4;44"
 #define FSC_TB_DEFAULT "0-2;64;3;1;4;64;37;64;38;64;8;65;25;35-4;34"
 
 #define I_PLAY_TOOLTIP N_("Play\nIf the playlist is empty, open a medium")

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to