Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
7910ae7a
Commit
7910ae7a
authored
Dec 29, 2007
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only do translation in Qt when asked.
parent
aa9715b2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+2
-1
No files found.
modules/gui/qt4/qt4.cpp
View file @
7910ae7a
...
...
@@ -283,6 +283,7 @@ static void Init( intf_thread_t *p_intf )
else
/*if( p_intf->pf_show_dialog )*/
vlc_thread_ready
(
p_intf
);
#ifdef ENABLE_NLS
// Translation - get locale
QLocale
ql
=
QLocale
::
system
();
// Translations for qt's own dialogs
...
...
@@ -299,7 +300,7 @@ static void Init( intf_thread_t *p_intf )
if
(
!
b_loaded
)
msg_Dbg
(
p_intf
,
"Error while initializing qt-specific localization"
);
app
->
installTranslator
(
&
qtTranslator
);
#endif //ENABLE_NLS
/* Start playing if needed */
if
(
!
p_intf
->
pf_show_dialog
&&
p_intf
->
b_play
)
{
...
...
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