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
28958fd5
Commit
28958fd5
authored
Jan 07, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: use "normvol" instead of "volnorm" in Simple Preferences
Close #5792
parent
13295779
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+5
-5
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
28958fd5
...
@@ -408,7 +408,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
...
@@ -408,7 +408,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
qs_filter
=
qfu
(
psz
).
split
(
':'
,
QString
::
SkipEmptyParts
);
qs_filter
=
qfu
(
psz
).
split
(
':'
,
QString
::
SkipEmptyParts
);
free
(
psz
);
free
(
psz
);
bool
b_enabled
=
(
qs_filter
.
contains
(
"
volnorm
"
)
);
bool
b_enabled
=
(
qs_filter
.
contains
(
"
normvol
"
)
);
ui
.
volNormBox
->
setChecked
(
b_enabled
);
ui
.
volNormBox
->
setChecked
(
b_enabled
);
ui
.
volNormSpin
->
setEnabled
(
b_enabled
);
ui
.
volNormSpin
->
setEnabled
(
b_enabled
);
...
@@ -829,10 +829,10 @@ void SPrefsPanel::apply()
...
@@ -829,10 +829,10 @@ void SPrefsPanel::apply()
{
{
bool
b_checked
=
bool
b_checked
=
qobject_cast
<
QCheckBox
*>
(
optionWidgets
[
normalizerChB
])
->
isChecked
();
qobject_cast
<
QCheckBox
*>
(
optionWidgets
[
normalizerChB
])
->
isChecked
();
if
(
b_checked
&&
!
qs_filter
.
contains
(
"
volnorm
"
)
)
if
(
b_checked
&&
!
qs_filter
.
contains
(
"
normvol
"
)
)
qs_filter
.
append
(
"
volnorm
"
);
qs_filter
.
append
(
"
normvol
"
);
if
(
!
b_checked
&&
qs_filter
.
contains
(
"
volnorm
"
)
)
if
(
!
b_checked
&&
qs_filter
.
contains
(
"
normvol
"
)
)
qs_filter
.
removeAll
(
"
volnorm
"
);
qs_filter
.
removeAll
(
"
normvol
"
);
b_checked
=
b_checked
=
qobject_cast
<
QCheckBox
*>
(
optionWidgets
[
headphoneB
])
->
isChecked
();
qobject_cast
<
QCheckBox
*>
(
optionWidgets
[
headphoneB
])
->
isChecked
();
...
...
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