]> git.sesse.net Git - vlc/commitdiff
Qt: do not explode when using OpenGL vout
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 11 Dec 2011 23:22:04 +0000 (00:22 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 11 Dec 2011 23:22:04 +0000 (00:22 +0100)
modules/gui/qt4/main_interface.cpp

index 7754846db7c326621f6c1ff2b2dd2c095aeac60e..89d4f62f6a66e5b3669fcbe60be9559e4b78a416 100644 (file)
@@ -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" );