]> git.sesse.net Git - vlc/commitdiff
Qt: Remove redundant code
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 10 Jun 2010 21:25:06 +0000 (23:25 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 10 Jun 2010 21:26:01 +0000 (23:26 +0200)
modules/gui/qt4/components/interface_widgets.cpp

index 60b844b7b69a223681e7970977605f84c2c5c301..0913750f06c671f3b2a6a5a25c5381c35b33da3f 100644 (file)
  **********************************************************************/
 
 VideoWidget::VideoWidget( intf_thread_t *_p_i )
-    : QFrame( NULL )
-      , p_intf( _p_i )
+            : QFrame( NULL ) , p_intf( _p_i )
 {
     /* Set the policy to expand in both directions */
     // setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding );
 
     layout = new QHBoxLayout( this );
     layout->setContentsMargins( 0, 0, 0, 0 );
-    setLayout( layout );
     stable = NULL;
 }