[vlc-commits] Qt: Leaves minimal view on quit to prevent size issues on start

Benoit du Payrat git at videolan.org
Thu May 12 11:54:52 CEST 2016


vlc/vlc-2.2 | branch: master | Benoit du Payrat <benoit at videolabs.io> | 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 <jb at videolan.org>
(cherry picked from commit bf2a7faff9f804cc7c65b72e3714de02910628b7)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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



More information about the vlc-commits mailing list