Commit c7fb55ac authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: correctly hide everything on MinimalView

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 62dc9260
...@@ -364,7 +364,7 @@ void MainInterface::handleMainUi( QSettings *settings ) ...@@ -364,7 +364,7 @@ void MainInterface::handleMainUi( QSettings *settings )
settings->value( "adv-controls", false ).toBool(), this ); settings->value( "adv-controls", false ).toBool(), this );
CONNECT( controls, advancedControlsToggled( bool ), CONNECT( controls, advancedControlsToggled( bool ),
this, doComponentsUpdate() ); this, doComponentsUpdate() );
InputControlsWidget *inputC = new InputControlsWidget( p_intf, this ); inputC = new InputControlsWidget( p_intf, this );
/* Add the controls Widget to the main Widget */ /* Add the controls Widget to the main Widget */
mainLayout->insertWidget( 0, controls, 0, Qt::AlignBottom ); mainLayout->insertWidget( 0, controls, 0, Qt::AlignBottom );
...@@ -754,6 +754,7 @@ void MainInterface::toggleMinimalView() ...@@ -754,6 +754,7 @@ void MainInterface::toggleMinimalView()
TOGGLEV( menuBar() ); TOGGLEV( menuBar() );
TOGGLEV( controls ); TOGGLEV( controls );
TOGGLEV( statusBar() ); TOGGLEV( statusBar() );
TOGGLEV( inputC );
doComponentsUpdate(); doComponentsUpdate();
} }
......
...@@ -44,6 +44,7 @@ class PlaylistWidget; ...@@ -44,6 +44,7 @@ class PlaylistWidget;
class VisualSelector; class VisualSelector;
class AdvControlsWidget; class AdvControlsWidget;
class ControlsWidget; class ControlsWidget;
class InputControlsWidget;
class FullscreenControllerWidget; class FullscreenControllerWidget;
class SpeedControlWidget; class SpeedControlWidget;
class QMenu; class QMenu;
...@@ -104,6 +105,7 @@ private: ...@@ -104,6 +105,7 @@ private:
QString input_name; QString input_name;
QVBoxLayout *mainLayout; QVBoxLayout *mainLayout;
ControlsWidget *controls; ControlsWidget *controls;
InputControlsWidget *inputC;
FullscreenControllerWidget *fullscreenControls; FullscreenControllerWidget *fullscreenControls;
void handleMainUi( QSettings* ); void handleMainUi( QSettings* );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment