]> git.sesse.net Git - vlc/commitdiff
Remove BlockingQueuedConnection, hopefully not needed
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 22 Jun 2008 14:29:30 +0000 (17:29 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 22 Jun 2008 14:29:30 +0000 (17:29 +0300)
modules/gui/qt4/components/interface_widgets.cpp

index 1256f4b5818af6fc372d788d2503d96d07691665..43b88e1ff247c29c32726075e85b455e40334a43 100644 (file)
@@ -73,13 +73,8 @@ VideoWidget::VideoWidget( intf_thread_t *_p_i ) : QFrame( NULL ), p_intf( _p_i )
     setPalette( plt );
     setAttribute( Qt::WA_PaintOnScreen, true );
 
-    /* The core can ask through a callback to show the video.
-     * NOTE: We need to block the video output core until the window handle
-     * is ready for use (otherwise an X11 invalid handle failure may occur).
-     * As a side effect, it is illegal to emit askVideoWidgetToShow from
-     * the same thread as the Qt4 thread that owns this. */
-    QObject::connect( this, SIGNAL(askVideoWidgetToShow()), this, SLOT(show()),
-                      Qt::BlockingQueuedConnection );
+    /* The core can ask through a callback to show the video. */
+    CONNECT( this, askVideoWidgetToShow(), this, show() );
 
     /* The core can ask through a callback to resize the video */
    // CONNECT( this, askResize( int, int ), this, SetSizing( int, int ) );