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
6eb90af3
Commit
6eb90af3
authored
May 03, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "i18n fix"
This reverts commit
110693d5
. This fixes #3599.
parent
47638566
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/preferences_widgets.cpp
modules/gui/qt4/components/preferences_widgets.cpp
+5
-5
No files found.
modules/gui/qt4/components/preferences_widgets.cpp
View file @
6eb90af3
...
...
@@ -518,11 +518,11 @@ void StringListConfigControl::finish(module_config_t *p_module_config, bool byca
{
if
(
!
p_module_config
->
ppsz_list
[
i_index
]
)
continue
;
combo
->
addItem
(
q
tr
((
p_module_config
->
ppsz_list_text
&&
combo
->
addItem
(
q
fu
((
p_module_config
->
ppsz_list_text
&&
p_module_config
->
ppsz_list_text
[
i_index
])
?
p_module_config
->
ppsz_list_text
[
i_index
]
:
p_module_config
->
ppsz_list
[
i_index
]
),
QVariant
(
q
tr
(
p_module_config
->
ppsz_list
[
i_index
]
))
);
QVariant
(
q
fu
(
p_module_config
->
ppsz_list
[
i_index
]
))
);
if
(
p_item
->
value
.
psz
&&
!
strcmp
(
p_module_config
->
value
.
psz
,
p_module_config
->
ppsz_list
[
i_index
]
)
)
combo
->
setCurrentIndex
(
combo
->
count
()
-
1
);
...
...
@@ -560,14 +560,14 @@ void setfillVLCConfigCombo( const char *configname, intf_thread_t *p_intf,
for
(
int
i_index
=
0
;
i_index
<
p_config
->
i_list
;
i_index
++
)
{
combo
->
addItem
(
q
tr
(
p_config
->
ppsz_list_text
[
i_index
]
),
combo
->
addItem
(
q
fu
(
p_config
->
ppsz_list_text
[
i_index
]
),
QVariant
(
p_config
->
pi_list
[
i_index
]
)
);
if
(
p_config
->
value
.
i
==
p_config
->
pi_list
[
i_index
]
)
{
combo
->
setCurrentIndex
(
i_index
);
}
}
combo
->
setToolTip
(
q
tr
(
p_config
->
psz_longtext
)
);
combo
->
setToolTip
(
q
fu
(
p_config
->
psz_longtext
)
);
}
}
...
...
@@ -952,7 +952,7 @@ IntegerListConfigControl::IntegerListConfigControl( vlc_object_t *_p_this,
for
(
int
i
=
0
;
i
<
p_item
->
i_action
;
i
++
)
{
QPushButton
*
button
=
new
QPushButton
(
q
tr
(
p_item
->
ppsz_action_text
[
i
]
));
new
QPushButton
(
q
fu
(
p_item
->
ppsz_action_text
[
i
]
));
CONNECT
(
button
,
clicked
(),
signalMapper
,
map
()
);
signalMapper
->
setMapping
(
button
,
i
);
l
->
addWidget
(
button
,
line
,
LAST_COLUMN
-
p_item
->
i_action
+
i
,
...
...
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