]> git.sesse.net Git - vlc/commitdiff
Disable broken code in qt4.
authorJean-Paul Saman <jpsaman@videolan.org>
Thu, 31 Jan 2008 14:54:01 +0000 (14:54 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Thu, 31 Jan 2008 14:54:01 +0000 (14:54 +0000)
modules/gui/qt4/qt4.cpp

index 5eac3fe5238a4b2d310e90d9a6932bdff229805c..2dcf89b2bb78ab54aeacec388f0d458491d585f3 100644 (file)
@@ -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 )