Commit 267a0def authored by Jean-Paul Saman's avatar Jean-Paul Saman

Disable broken code in qt4.

parent 258a1532
...@@ -210,6 +210,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -210,6 +210,7 @@ static int Open( vlc_object_t *p_this )
{ {
intf_thread_t *p_intf = (intf_thread_t *)p_this; intf_thread_t *p_intf = (intf_thread_t *)p_this;
p_intf->pf_run = Run; p_intf->pf_run = Run;
#if 0
#if defined Q_WS_X11 && defined HAVE_X11_XLIB_H #if defined Q_WS_X11 && defined HAVE_X11_XLIB_H
/* Thanks for libqt4 calling exit() in QApplication::QApplication() /* Thanks for libqt4 calling exit() in QApplication::QApplication()
* instead of returning an error, we have to check the X11 display */ * instead of returning an error, we have to check the X11 display */
...@@ -220,6 +221,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -220,6 +221,7 @@ static int Open( vlc_object_t *p_this )
return VLC_EGENERIC; return VLC_EGENERIC;
} }
XCloseDisplay( p_display ); XCloseDisplay( p_display );
#endif
#endif #endif
p_intf->p_sys = (intf_sys_t *)malloc( sizeof( intf_sys_t ) ); p_intf->p_sys = (intf_sys_t *)malloc( sizeof( intf_sys_t ) );
if( !p_intf->p_sys ) if( !p_intf->p_sys )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment