]> git.sesse.net Git - vlc/commitdiff
Increase videowidget size priority over the others.
authorChristophe Mutricy <xtophe@videolan.org>
Wed, 25 Jun 2008 00:04:21 +0000 (01:04 +0100)
committerChristophe Mutricy <xtophe@videolan.org>
Wed, 25 Jun 2008 00:07:40 +0000 (01:07 +0100)
At the moment it is redumbdant with 6ec764aec733da
(QSizePolicy::Expanding) but it will be needed when the docked playlist
is re-implemented

modules/gui/qt4/main_interface.cpp

index 377a44a540523c6a421f4d977cdbba969e705eb0..3e666d0ae1d5a0c083f061d8d9da31ba6557ddf6 100644 (file)
@@ -436,7 +436,7 @@ void MainInterface::handleMainUi( QSettings *settings )
     if( videoEmbeddedFlag )
     {
         videoWidget = new VideoWidget( p_intf );
-        mainLayout->insertWidget( 0, videoWidget );
+        mainLayout->insertWidget( 0, videoWidget, 10 );
 
         var_Create( p_intf, "window_widget", VLC_VAR_ADDRESS );
         vlc_value_t val;