Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
e2f633e3
Commit
e2f633e3
authored
Sep 05, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 'pausing does move the slider to 0'.
parent
29477d27
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+1
-1
modules/gui/qt4/util/input_slider.cpp
modules/gui/qt4/util/input_slider.cpp
+3
-0
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
e2f633e3
...
@@ -965,7 +965,7 @@ void ControlsWidget::enableInput( bool enable )
...
@@ -965,7 +965,7 @@ void ControlsWidget::enableInput( bool enable )
{
{
slowerButton
->
setEnabled
(
enable
);
slowerButton
->
setEnabled
(
enable
);
slider
->
setEnabled
(
enable
);
slider
->
setEnabled
(
enable
);
slider
->
setSliderPosition
(
0
);
if
(
!
enable
)
slider
->
setSliderPosition
(
-
1
);
fasterButton
->
setEnabled
(
enable
);
fasterButton
->
setEnabled
(
enable
);
/* Advanced Buttons too */
/* Advanced Buttons too */
...
...
modules/gui/qt4/util/input_slider.cpp
View file @
e2f633e3
...
@@ -56,7 +56,10 @@ InputSlider::InputSlider( Qt::Orientation q,QWidget *_parent ) :
...
@@ -56,7 +56,10 @@ InputSlider::InputSlider( Qt::Orientation q,QWidget *_parent ) :
void
InputSlider
::
setPosition
(
float
pos
,
int
a
,
int
b
)
void
InputSlider
::
setPosition
(
float
pos
,
int
a
,
int
b
)
{
{
if
(
pos
==
-
1.0
)
if
(
pos
==
-
1.0
)
{
setEnabled
(
false
);
setEnabled
(
false
);
b_sliding
=
false
;
}
else
else
setEnabled
(
true
);
setEnabled
(
true
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment