[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:53:51 CEST 2016


vlc | branch: master | Benoit du Payrat <benoit at videolabs.io> | Thu May 12 10:32:43 2016 +0200| [bf2a7faff9f804cc7c65b72e3714de02910628b7] | 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=bf2a7faff9f804cc7c65b72e3714de02910628b7
---

 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