[vlc-devel] commit: Qt: correctly hide everything on MinimalView (Jean-Baptiste Kempf )

git version control git at videolan.org
Tue Dec 30 13:21:10 CET 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Dec 29 20:21:15 2008 +0100| [c7fb55ac5ee1dac3335dc58d237a7acd8cedb00a] | committer: Jean-Baptiste Kempf 

Qt: correctly hide everything on MinimalView

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 895de7b..8ec4dae 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -364,7 +364,7 @@ void MainInterface::handleMainUi( QSettings *settings )
                    settings->value( "adv-controls", false ).toBool(), this );
     CONNECT( controls, advancedControlsToggled( bool ),
              this, doComponentsUpdate() );
-    InputControlsWidget *inputC = new InputControlsWidget( p_intf, this );
+    inputC = new InputControlsWidget( p_intf, this );
 
     /* Add the controls Widget to the main Widget */
     mainLayout->insertWidget( 0, controls, 0, Qt::AlignBottom );
@@ -754,6 +754,7 @@ void MainInterface::toggleMinimalView()
     TOGGLEV( menuBar() );
     TOGGLEV( controls );
     TOGGLEV( statusBar() );
+    TOGGLEV( inputC );
     doComponentsUpdate();
 }
 
diff --git a/modules/gui/qt4/main_interface.hpp b/modules/gui/qt4/main_interface.hpp
index c0e3974..748d33c 100644
--- a/modules/gui/qt4/main_interface.hpp
+++ b/modules/gui/qt4/main_interface.hpp
@@ -44,6 +44,7 @@ class PlaylistWidget;
 class VisualSelector;
 class AdvControlsWidget;
 class ControlsWidget;
+class InputControlsWidget;
 class FullscreenControllerWidget;
 class SpeedControlWidget;
 class QMenu;
@@ -104,6 +105,7 @@ private:
     QString              input_name;
     QVBoxLayout         *mainLayout;
     ControlsWidget      *controls;
+    InputControlsWidget *inputC;
     FullscreenControllerWidget *fullscreenControls;
 
     void handleMainUi( QSettings* );




More information about the vlc-devel mailing list