From 267a0def31736bd50f4205c05f6abd3b0a53084f Mon Sep 17 00:00:00 2001 From: Jean-Paul Saman Date: Thu, 31 Jan 2008 14:54:01 +0000 Subject: [PATCH] Disable broken code in qt4. --- modules/gui/qt4/qt4.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp index 5eac3fe523..2dcf89b2bb 100644 --- a/modules/gui/qt4/qt4.cpp +++ b/modules/gui/qt4/qt4.cpp @@ -210,6 +210,7 @@ static int Open( vlc_object_t *p_this ) { intf_thread_t *p_intf = (intf_thread_t *)p_this; p_intf->pf_run = Run; +#if 0 #if defined Q_WS_X11 && defined HAVE_X11_XLIB_H /* Thanks for libqt4 calling exit() in QApplication::QApplication() * instead of returning an error, we have to check the X11 display */ @@ -220,6 +221,7 @@ static int Open( vlc_object_t *p_this ) return VLC_EGENERIC; } XCloseDisplay( p_display ); +#endif #endif p_intf->p_sys = (intf_sys_t *)malloc( sizeof( intf_sys_t ) ); if( !p_intf->p_sys ) -- 2.39.5