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
2cee8e42
Commit
2cee8e42
authored
Oct 01, 2009
by
Francois Cartegnie
Committed by
Jean-Baptiste Kempf
Oct 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: Simple prefs/input: fix variable handling
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
3cb1603b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+3
-2
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
2cee8e42
...
@@ -719,13 +719,14 @@ void SPrefsPanel::apply()
...
@@ -719,13 +719,14 @@ void SPrefsPanel::apply()
case
SPrefsInputAndCodecs
:
case
SPrefsInputAndCodecs
:
{
{
/* Device default selection */
/* Device default selection */
c
onst
c
har
*
psz_devicepath
=
char
*
psz_devicepath
=
qtu
(
qobject_cast
<
QLineEdit
*>
(
optionWidgets
[
inputLE
]
)
->
text
(
)
);
strdup
(
qtu
(
qobject_cast
<
QLineEdit
*>
(
optionWidgets
[
inputLE
]
)
->
text
()
)
);
if
(
!
EMPTY_STR
(
psz_devicepath
)
)
if
(
!
EMPTY_STR
(
psz_devicepath
)
)
{
{
config_PutPsz
(
p_intf
,
"dvd"
,
psz_devicepath
);
config_PutPsz
(
p_intf
,
"dvd"
,
psz_devicepath
);
config_PutPsz
(
p_intf
,
"vcd"
,
psz_devicepath
);
config_PutPsz
(
p_intf
,
"vcd"
,
psz_devicepath
);
config_PutPsz
(
p_intf
,
"cd-audio"
,
psz_devicepath
);
config_PutPsz
(
p_intf
,
"cd-audio"
,
psz_devicepath
);
free
(
psz_devicepath
);
}
}
#define CaCi( name, int ) config_PutInt( p_intf, name, int * i_comboValue )
#define CaCi( name, int ) config_PutInt( p_intf, name, int * i_comboValue )
...
...
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