Commit 8fb1b83b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: allow people to use a native seek bar

Close #6109
(cherry picked from commit 89dd589d)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 0b37103c
...@@ -346,7 +346,7 @@ QWidget *AbstractController::createWidget( buttonType_e button, int options ) ...@@ -346,7 +346,7 @@ QWidget *AbstractController::createWidget( buttonType_e button, int options )
} }
break; break;
case INPUT_SLIDER: { 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 ); SeekPoints *chapters = new SeekPoints( this, p_intf );
CONNECT( THEMIM->getIM(), titleChanged( bool ), chapters, update() ); CONNECT( THEMIM->getIM(), titleChanged( bool ), chapters, update() );
slider->setChapters( chapters ); slider->setChapters( chapters );
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#define MAIN_TB1_DEFAULT "64;39;64;38;65" #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 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 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 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") #define I_PLAY_TOOLTIP N_("Play\nIf the playlist is empty, open a medium")
......
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