Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
4e9597b8
Commit
4e9597b8
authored
Aug 01, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Less memleaks in Qt interface.
parent
98157792
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+7
-2
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
4e9597b8
...
@@ -101,6 +101,7 @@ void SPrefsCatList::switchPanel( int i )
...
@@ -101,6 +101,7 @@ void SPrefsCatList::switchPanel( int i )
SPrefsPanel
::
SPrefsPanel
(
intf_thread_t
*
_p_intf
,
QWidget
*
_parent
,
SPrefsPanel
::
SPrefsPanel
(
intf_thread_t
*
_p_intf
,
QWidget
*
_parent
,
int
_number
)
:
QWidget
(
_parent
),
p_intf
(
_p_intf
)
int
_number
)
:
QWidget
(
_parent
),
p_intf
(
_p_intf
)
{
{
printf
(
"SPrefsPanel::SPrefsPanel
\n
"
);
module_config_t
*
p_config
;
module_config_t
*
p_config
;
ConfigControl
*
control
;
ConfigControl
*
control
;
number
=
_number
;
number
=
_number
;
...
@@ -334,7 +335,9 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
...
@@ -334,7 +335,9 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONNECT
(
ui
.
volNormBox
,
toggled
(
bool
),
ui
.
volNormSpin
,
CONNECT
(
ui
.
volNormBox
,
toggled
(
bool
),
ui
.
volNormSpin
,
setEnabled
(
bool
)
);
setEnabled
(
bool
)
);
qs_filter
=
qfu
(
config_GetPsz
(
p_intf
,
"audio-filter"
)
);
char
*
psz
=
config_GetPsz
(
p_intf
,
"audio-filter"
);
qs_filter
=
qfu
(
psz
);
free
(
psz
);
bool
b_normalizer
=
(
qs_filter
.
contains
(
"volnorm"
)
);
bool
b_normalizer
=
(
qs_filter
.
contains
(
"volnorm"
)
);
{
{
ui
.
volNormBox
->
setChecked
(
b_normalizer
);
ui
.
volNormBox
->
setChecked
(
b_normalizer
);
...
@@ -381,7 +384,9 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
...
@@ -381,7 +384,9 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
ui
.
systemCodecBox
->
hide
();
ui
.
systemCodecBox
->
hide
();
#endif
#endif
/* Access Filters */
/* Access Filters */
qs_filter
=
qfu
(
config_GetPsz
(
p_intf
,
"access-filter"
)
);
char
*
psz
=
config_GetPsz
(
p_intf
,
"access-filter"
);
qs_filter
=
qfu
(
psz
);
free
(
psz
);
ui
.
timeshiftBox
->
setChecked
(
qs_filter
.
contains
(
"timeshift"
)
);
ui
.
timeshiftBox
->
setChecked
(
qs_filter
.
contains
(
"timeshift"
)
);
ui
.
dumpBox
->
setChecked
(
qs_filter
.
contains
(
"dump"
)
);
ui
.
dumpBox
->
setChecked
(
qs_filter
.
contains
(
"dump"
)
);
ui
.
recordBox
->
setChecked
(
qs_filter
.
contains
(
"record"
)
);
ui
.
recordBox
->
setChecked
(
qs_filter
.
contains
(
"record"
)
);
...
...
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