From 8fb1b83baf7ada496ce029da59db4f6dbc7cc594 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf <jb@videolan.org> Date: Wed, 22 Feb 2012 01:01:30 +0100 Subject: [PATCH] Qt: allow people to use a native seek bar Close #6109 (cherry picked from commit 89dd589de5ccd59ed3049a980276c6167a615afb) Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> --- 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 f42a976411..0313be59e8 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 c7032d66a9..3c356334fc 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") -- 2.25.4