Commit 1244de84 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix a rare sizing issue ( part of #1775 )

This can happen if you toggle between qt-display-mode too often.
parent fce957a4
......@@ -232,9 +232,10 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
if( i_visualmode == QT_MINIMAL_MODE )
toggleMinimalView();
/* Update the geometry TODO: is it useful ?*/
/* Update the geometry : It is useful if you switch between
qt-display-modes ?*/
updateGeometry();
// resize( sizeHint() );
resize( sizeHint() );
/*****************************************************
* 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