[vlc-devel] commit: Qt: put the Fullscreen Controller back on 2 lines. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Jan 7 12:42:40 CET 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Jan  7 12:41:26 2009 +0100| [240cb64b58103cc0d1a1dee4cd80c2c1445f5e4f] | committer: Jean-Baptiste Kempf 

Qt: put the Fullscreen Controller back on 2 lines.

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

 modules/gui/qt4/components/controller.cpp |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt4/components/controller.cpp b/modules/gui/qt4/components/controller.cpp
index 054256c..25d5ee6 100644
--- a/modules/gui/qt4/components/controller.cpp
+++ b/modules/gui/qt4/components/controller.cpp
@@ -809,12 +809,12 @@ FullscreenControllerWidget::FullscreenControllerWidget( intf_thread_t *_p_i )
     setFrameStyle( QFrame::Sunken );
     setSizePolicy( QSizePolicy::Minimum, QSizePolicy::Minimum );
 
-    controlLayout = new QHBoxLayout( this );
-    controlLayout->setLayoutMargins( 5, 2, 5, 2, 5 );
+    QVBoxLayout *controlLayout2 = new QVBoxLayout( this );
+    controlLayout2->setLayoutMargins( 5, 2, 5, 2, 5 );
 
     /* First line */
     InputControlsWidget *inputC = new InputControlsWidget( p_intf, this );
-    controlLayout->addWidget( inputC );
+    controlLayout2->addWidget( inputC );
 
     /* Second line */
 /*     QString line = QString( "%1-2;%2;%3;%4;%5;%2;%6;%2;%7;%2;%8;%9;%10-4")
@@ -830,9 +830,11 @@ FullscreenControllerWidget::FullscreenControllerWidget( intf_thread_t *_p_i )
         .arg( TIME_LABEL )
         .arg( VOLUME ); */
 
+    controlLayout = new QHBoxLayout;
     QString line = getSettings()->value( "MainWindow/FSCtoolbar",
             "0-2;64;3;1;4;64;36;64;37;64;8;65;35-4;34" ).toString();
     parseAndCreate( line, controlLayout );
+    controlLayout2->addLayout( controlLayout );
 
     /* hiding timer */
     p_hideTimer = new QTimer( this );




More information about the vlc-devel mailing list