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
327779e6
Commit
327779e6
authored
Sep 05, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert items in the preferences tree to locale
parent
315069b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
modules/gui/qt4/components/preferences.cpp
modules/gui/qt4/components/preferences.cpp
+9
-8
No files found.
modules/gui/qt4/components/preferences.cpp
View file @
327779e6
...
...
@@ -104,11 +104,11 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
case
CONFIG_CATEGORY
:
if
(
p_item
->
i_value
==
-
1
)
break
;
data
=
new
PrefsItemData
();
data
->
name
=
QString
(
config_CategoryNameGet
(
p_item
->
i_value
)
);
data
->
name
=
QString
(
qfu
(
config_CategoryNameGet
(
p_item
->
i_value
)
)
)
;
psz_help
=
config_CategoryHelpGet
(
p_item
->
i_value
);
if
(
psz_help
)
data
->
help
=
QString
(
psz_help
);
data
->
help
=
QString
(
qfu
(
psz_help
)
);
else
data
->
help
.
clear
();
data
->
i_type
=
TYPE_CATEGORY
;
...
...
@@ -148,11 +148,11 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
// Data still contains the correct thing
data
->
i_type
=
TYPE_CATSUBCAT
;
data
->
i_subcat_id
=
p_item
->
i_value
;
data
->
name
=
QString
(
config_CategoryNameGet
(
p_item
->
i_value
)
);
data
->
name
=
QString
(
qfu
(
config_CategoryNameGet
(
p_item
->
i_value
)
)
);
psz_help
=
config_CategoryHelpGet
(
p_item
->
i_value
);
if
(
psz_help
)
data
->
help
=
QString
(
psz_help
);
data
->
help
=
QString
(
qfu
(
psz_help
)
);
else
data
->
help
.
clear
();
current_item
->
setData
(
0
,
Qt
::
UserRole
,
...
...
@@ -160,10 +160,11 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
continue
;
}
data
=
new
PrefsItemData
();
data
->
name
=
QString
(
config_CategoryNameGet
(
p_item
->
i_value
));
data
->
name
=
QString
(
qfu
(
config_CategoryNameGet
(
p_item
->
i_value
))
);
psz_help
=
config_CategoryHelpGet
(
p_item
->
i_value
);
if
(
psz_help
)
data
->
help
=
QString
(
psz_help
);
data
->
help
=
QString
(
qfu
(
psz_help
)
);
else
data
->
help
.
clear
();
data
->
i_type
=
TYPE_SUBCATEGORY
;
...
...
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