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
86016eb8
Commit
86016eb8
authored
Apr 08, 2011
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4_v4l2_ctrl: fix string encoding.
parent
b7e972a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.cpp
+8
-8
No files found.
modules/gui/qt4/components/extended_panels.cpp
View file @
86016eb8
...
...
@@ -702,14 +702,14 @@ void ExtV4l2::Refresh( void )
{
case
VLC_VAR_INTEGER
:
{
QLabel
*
label
=
new
QLabel
(
psz_label
,
box
);
QLabel
*
label
=
new
QLabel
(
qtr
(
psz_label
)
,
box
);
QHBoxLayout
*
hlayout
=
new
QHBoxLayout
();
hlayout
->
addWidget
(
label
);
int
i_val
=
var_GetInteger
(
p_obj
,
psz_var
);
if
(
i_type
&
VLC_VAR_HASCHOICE
)
{
QComboBox
*
combobox
=
new
QComboBox
(
box
);
combobox
->
setObjectName
(
psz_var
);
combobox
->
setObjectName
(
qtr
(
psz_var
)
);
vlc_value_t
val2
,
text2
;
var_Change
(
p_obj
,
psz_var
,
VLC_VAR_GETCHOICES
,
...
...
@@ -731,7 +731,7 @@ void ExtV4l2::Refresh( void )
else
{
QSlider
*
slider
=
new
QSlider
(
box
);
slider
->
setObjectName
(
psz_var
);
slider
->
setObjectName
(
qtr
(
psz_var
)
);
slider
->
setOrientation
(
Qt
::
Horizontal
);
vlc_value_t
val2
;
var_Change
(
p_obj
,
psz_var
,
VLC_VAR_GETMIN
,
...
...
@@ -754,8 +754,8 @@ void ExtV4l2::Refresh( void )
}
case
VLC_VAR_BOOL
:
{
QCheckBox
*
button
=
new
QCheckBox
(
psz_label
,
box
);
button
->
setObjectName
(
psz_var
);
QCheckBox
*
button
=
new
QCheckBox
(
qtr
(
psz_label
)
,
box
);
button
->
setObjectName
(
qtr
(
psz_var
)
);
button
->
setChecked
(
var_GetBool
(
p_obj
,
psz_var
)
);
CONNECT
(
button
,
clicked
(
bool
),
this
,
...
...
@@ -767,8 +767,8 @@ void ExtV4l2::Refresh( void )
{
if
(
i_type
&
VLC_VAR_ISCOMMAND
)
{
QPushButton
*
button
=
new
QPushButton
(
psz_label
,
box
);
button
->
setObjectName
(
psz_var
);
QPushButton
*
button
=
new
QPushButton
(
qtr
(
psz_label
)
,
box
);
button
->
setObjectName
(
qtr
(
psz_var
)
);
CONNECT
(
button
,
clicked
(
bool
),
this
,
ValueChange
(
bool
)
);
...
...
@@ -776,7 +776,7 @@ void ExtV4l2::Refresh( void )
}
else
{
QLabel
*
label
=
new
QLabel
(
psz_label
,
box
);
QLabel
*
label
=
new
QLabel
(
qtr
(
psz_label
)
,
box
);
layout
->
addWidget
(
label
);
}
break
;
...
...
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