Commit 61733f0e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: now that you don't control the controls size anymore, be careful to resize...

Qt: now that you don't control the controls size anymore, be careful to resize the controller when buttons show up.

Close #2487.
parent af4d8375
......@@ -479,6 +479,8 @@ QFrame *AbstractController::discFrame()
sectionNext() );
CONNECT( menuButton, clicked(), THEMIM->getIM(),
sectionMenu() );
connect( THEMIM->getIM(), SIGNAL( titleChanged( bool ) ),
this, SIGNAL( sizeChanged() ) );
return discFrame;
}
......
......@@ -163,6 +163,7 @@ signals:
void inputPlaying( bool ); /// This might be usefull in the IM ?
void inputIsRecordable( bool ); /// same ?
void inputIsTrickPlayable( bool ); /// same ?
void sizeChanged();
};
/* Advanced Button Bar */
......
......@@ -426,6 +426,8 @@ void MainInterface::handleMainUi( QSettings *settings )
settings->value( "adv-controls", false ).toBool(), this );
CONNECT( controls, advancedControlsToggled( bool ),
this, doComponentsUpdate() );
CONNECT( controls, sizeChanged(),
this, doComponentsUpdate() );
inputC = new InputControlsWidget( p_intf, this );
/* Visualisation */
......
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