[vlc-commits] Qt: do not explode when using OpenGL vout

Jean-Baptiste Kempf git at videolan.org
Mon Dec 12 00:22:41 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Dec 12 00:22:04 2011 +0100| [f4c037efd2d3cde44daa1a58c7042fecc32b2177] | committer: Jean-Baptiste Kempf

Qt: do not explode when using OpenGL vout

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

 modules/gui/qt4/main_interface.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 7754846..89d4f62 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -110,6 +110,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
 #ifdef Q_WS_MAC
     setAttribute( Qt::WA_MacBrushedMetal );
 #endif
+    setAttribute( Qt::WA_QuitOnClose, false );
 
     /* Is video in embedded in the UI or not */
     b_videoEmbedded = var_InheritBool( p_intf, "embedded-video" );



More information about the vlc-commits mailing list