Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
5268bc2d
Commit
5268bc2d
authored
Dec 06, 2007
by
Rafaël Carré
Browse files
fix #1382
parent
c45b364e
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/qt4.cpp
View file @
5268bc2d
...
...
@@ -177,7 +177,8 @@ static int Open( vlc_object_t *p_this )
intf_thread_t
*
p_intf
=
(
intf_thread_t
*
)
p_this
;
p_intf
->
pf_run
=
Run
;
#if defined HAVE_GETENV && defined Q_WS_X11
if
(
!
getenv
(
"DISPLAY"
)
)
char
*
psz_display
=
getenv
(
"DISPLAY"
);
if
(
!
psz_display
||
!*
psz_display
)
{
msg_Err
(
p_intf
,
"no X server"
);
return
VLC_EGENERIC
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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