vlc/vlc-2.2 | branch: master | Benoit du Payrat <[email protected]> | Thu May 
12 10:32:43 2016 +0200| [db521592b7300555c4c6d265735622049b015974] | committer: 
Jean-Baptiste Kempf

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

Signed-off-by: Jean-Baptiste Kempf <[email protected]>
(cherry picked from commit bf2a7faff9f804cc7c65b72e3714de02910628b7)
Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=db521592b7300555c4c6d265735622049b015974
---

 modules/gui/qt4/main_interface.cpp |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/gui/qt4/main_interface.cpp 
b/modules/gui/qt4/main_interface.cpp
index e75c7bb..10efc01 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -1532,6 +1532,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