Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
ad218763
Commit
ad218763
authored
Dec 31, 2012
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: Compressor: remove useless method parameter
parent
65ff3566
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.cpp
+4
-4
modules/gui/qt4/components/extended_panels.hpp
modules/gui/qt4/components/extended_panels.hpp
+1
-1
No files found.
modules/gui/qt4/components/extended_panels.cpp
View file @
ad218763
...
@@ -1315,7 +1315,7 @@ Compressor::Compressor( intf_thread_t *_p_intf, QWidget *_parent )
...
@@ -1315,7 +1315,7 @@ Compressor::Compressor( intf_thread_t *_p_intf, QWidget *_parent )
compressorBox
->
setChecked
(
false
);
compressorBox
->
setChecked
(
false
);
free
(
psz_af
);
free
(
psz_af
);
updateSliders
(
controlVars
);
updateSliders
();
setValues
();
setValues
();
}
}
...
@@ -1324,14 +1324,14 @@ void Compressor::enable()
...
@@ -1324,14 +1324,14 @@ void Compressor::enable()
playlist_EnableAudioFilter
(
THEPL
,
"compressor"
,
compressorBox
->
isChecked
()
);
playlist_EnableAudioFilter
(
THEPL
,
"compressor"
,
compressorBox
->
isChecked
()
);
}
}
void
Compressor
::
updateSliders
(
float
*
p_controlVars
)
void
Compressor
::
updateSliders
()
{
{
for
(
int
i
=
0
;
i
<
NUM_CP_CTRL
;
i
++
)
for
(
int
i
=
0
;
i
<
NUM_CP_CTRL
;
i
++
)
{
{
if
(
oldControlVars
[
i
]
!=
p_
controlVars
[
i
]
)
if
(
oldControlVars
[
i
]
!=
controlVars
[
i
]
)
{
{
compCtrl
[
i
]
->
setValue
(
compCtrl
[
i
]
->
setValue
(
(
int
)(
p_
controlVars
[
i
]
/
comp_controls
[
i
].
f_resolution
)
);
(
int
)(
controlVars
[
i
]
/
comp_controls
[
i
].
f_resolution
)
);
}
}
}
}
}
}
...
...
modules/gui/qt4/components/extended_panels.hpp
View file @
ad218763
...
@@ -143,7 +143,7 @@ private:
...
@@ -143,7 +143,7 @@ private:
intf_thread_t
*
p_intf
;
intf_thread_t
*
p_intf
;
void
updateSliders
(
float
*
);
void
updateSliders
();
private
slots
:
private
slots
:
void
enable
();
void
enable
();
...
...
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