[vlc-commits] commit: Qt: Remove redundant code (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Thu Jun 10 23:26:56 CEST 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jun 10 23:25:06 2010 +0200| [5422c4fa7ef126f40eefa692b4a14b35f55f01c5] | committer: Jean-Baptiste Kempf 

Qt: Remove redundant code

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5422c4fa7ef126f40eefa692b4a14b35f55f01c5
---

 modules/gui/qt4/components/interface_widgets.cpp |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index 60b844b..0913750 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -64,15 +64,13 @@
  **********************************************************************/
 
 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;
 }
 



More information about the vlc-commits mailing list