Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
f222f159
Commit
f222f159
authored
Apr 15, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not pass custom Xlib display to Qt4 - fixes #2322
parent
61c280c5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+9
-3
No files found.
modules/gui/qt4/qt4.cpp
View file @
f222f159
...
...
@@ -368,10 +368,15 @@ static void *Thread( void *obj )
/* Start the QApplication here */
#ifdef Q_WS_X11
QVLCApp
app
(
(
Display
*
)
p_intf
->
p_sys
->
display
,
argc
,
argv
);
#else
QVLCApp
app
(
argc
,
argv
);
char
*
display
=
var_CreateGetNonEmptyString
(
p_intf
,
"x11-display"
);
if
(
display
)
{
argv
[
argc
++
]
=
const_cast
<
char
*>
(
"-display"
);
argv
[
argc
++
]
=
display
;
argv
[
argc
]
=
NULL
;
}
#endif
QVLCApp
app
(
argc
,
argv
);
p_intf
->
p_sys
->
p_app
=
&
app
;
...
...
@@ -505,6 +510,7 @@ static void *Thread( void *obj )
free
(
psz_path
);
/* Delete the application automatically */
free
(
display
);
return
NULL
;
}
...
...
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