Commit bf2a7faf authored by Benoit's avatar Benoit Committed by Jean-Baptiste Kempf

Qt: Leaves minimal view on quit to prevent size issues on start

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 8d445039
......@@ -1539,6 +1539,8 @@ void MainInterface::wheelEvent( QWheelEvent *e )
void MainInterface::closeEvent( QCloseEvent *e )
{
// hide();
if ( b_minimalView )
setMinimalView( false );
emit askToQuit(); /* ask THEDP to quit, so we have a unique method */
/* Accept session quit. Otherwise we break the desktop mamager. */
e->accept();
......
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