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 )
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();
}
......
......@@ -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* );
......
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