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
25040764
Commit
25040764
authored
Jul 20, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: remove constant parameter
parent
a5feda88
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
modules/gui/qt4/components/controller_widget.cpp
modules/gui/qt4/components/controller_widget.cpp
+0
-1
modules/gui/qt4/util/input_slider.cpp
modules/gui/qt4/util/input_slider.cpp
+2
-2
modules/gui/qt4/util/input_slider.hpp
modules/gui/qt4/util/input_slider.hpp
+1
-1
No files found.
modules/gui/qt4/components/controller_widget.cpp
View file @
25040764
...
...
@@ -90,7 +90,6 @@ SoundWidget::SoundWidget( QWidget *_parent, intf_thread_t * _p_intf,
{
volumeSlider
=
new
SoundSlider
(
this
,
config_GetInt
(
p_intf
,
"volume-step"
),
false
,
var_InheritString
(
p_intf
,
"qt-slider-colours"
)
);
}
else
...
...
modules/gui/qt4/util/input_slider.cpp
View file @
25040764
...
...
@@ -435,12 +435,12 @@ bool SeekSlider::isAnimationRunning() const
#define SOUNDMIN 0 // %
#define SOUNDMAX 200 // % OR 400 ?
SoundSlider
::
SoundSlider
(
QWidget
*
_parent
,
int
_i_step
,
bool
b_hard
,
SoundSlider
::
SoundSlider
(
QWidget
*
_parent
,
int
_i_step
,
char
*
psz_colors
)
:
QAbstractSlider
(
_parent
)
{
f_step
=
(
_i_step
*
100
)
/
AOUT_VOLUME_MAX
;
setRange
(
SOUNDMIN
,
b_hard
?
(
2
*
SOUNDMAX
)
:
SOUNDMAX
);
setRange
(
SOUNDMIN
,
SOUNDMAX
);
setMouseTracking
(
true
);
isSliding
=
false
;
b_mouseOutside
=
true
;
...
...
modules/gui/qt4/util/input_slider.hpp
View file @
25040764
...
...
@@ -125,7 +125,7 @@ class SoundSlider : public QAbstractSlider
{
Q_OBJECT
public:
SoundSlider
(
QWidget
*
_parent
,
int
_i_step
,
bool
b_softamp
,
char
*
);
SoundSlider
(
QWidget
*
_parent
,
int
_i_step
,
char
*
);
void
setMuted
(
bool
);
/* Set Mute status */
protected:
...
...
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