vlc | branch: master | Benoît Noël du Payrat <[email protected]> | 
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 <[email protected]>

> 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();

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to