Commit c57d9dbc authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf Committed by Christophe Mutricy

Fix a rare sizing issue ( part of #1775 )

This can happen if you toggle between qt-display-mode too often.
(cherry picked from commit 1244de84)
Signed-off-by: default avatarChristophe Mutricy <xtophe@videolan.org>
parent d9297ab0
...@@ -232,9 +232,10 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf ) ...@@ -232,9 +232,10 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
if( i_visualmode == QT_MINIMAL_MODE ) if( i_visualmode == QT_MINIMAL_MODE )
toggleMinimalView(); toggleMinimalView();
/* Update the geometry TODO: is it useful ?*/ /* Update the geometry : It is useful if you switch between
qt-display-modes ?*/
updateGeometry(); updateGeometry();
// resize( sizeHint() ); resize( sizeHint() );
/***************************************************** /*****************************************************
* End everything by creating the Systray Management * * End everything by creating the Systray Management *
......
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