[vlc-commits] Qt: Leaves minimal view on quit to prevent size	issues on start
    Benoît Noël du Payrat 
    git at videolan.org
       
    Thu May 12 11:52:35 CEST 2016
    
    
  
vlc | branch: master | Benoît Noël du Payrat <benoitp at localhost.localdomain> | Thu May 12 10:32:43 2016 +0200| [27d0848ec2dcfe26c6aa4a8f05613cfdd22e3051] | committer: Jean-Baptiste Kempf
Qt: Leaves minimal view on quit to prevent size issues on start
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=27d0848ec2dcfe26c6aa4a8f05613cfdd22e3051
---
 modules/gui/qt/main_interface.cpp |    2 ++
 1 file changed, 2 insertions(+)
diff --git a/modules/gui/qt/main_interface.cpp b/modules/gui/qt/main_interface.cpp
index 7c70692..86e4866 100644
--- a/modules/gui/qt/main_interface.cpp
+++ b/modules/gui/qt/main_interface.cpp
@@ -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();
    
    
More information about the vlc-commits
mailing list