[vlc-devel] commit: Increase videowidget size priority over the others. ( Christophe Mutricy )

git version control git at videolan.org
Wed Jun 25 02:05:49 CEST 2008


vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Wed Jun 25 01:04:21 2008 +0100| [8b43c0859249b422fb70e77c6a1be58cc57efd86]

Increase videowidget size priority over the others.

At the moment it is redumbdant with 6ec764aec733da
(QSizePolicy::Expanding) but it will be needed when the docked playlist
is re-implemented

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

 modules/gui/qt4/main_interface.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 377a44a..3e666d0 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -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;




More information about the vlc-devel mailing list