msg_Err( p_intf, "Could not connect to X server" );
return VLC_EGENERIC;
}
+ XCloseDisplay( p_display );
#endif
/* Allocations of p_sys */
p_sys->p_popup_menu = NULL;
p_sys->p_mi = NULL;
p_sys->p_playlist = pl_Hold( p_intf );
-#ifdef Q_WS_X11
- p_sys->display = p_display;
-#endif
/* */
if( vlc_clone( &p_sys->thread, Thread, p_intf, VLC_THREAD_PRIORITY_LOW ) )
QVLCApp::triggerQuit();
vlc_join (p_sys->thread, NULL);
-#ifdef Q_WS_X11
- XCloseDisplay ((Display *)p_sys->display);
-#endif
pl_Release (p_this);
delete p_sys;
}