[vlc-commits] Qt: don't quit the application too early
Jean-Baptiste Kempf
git at videolan.org
Thu Sep 8 00:55:08 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Sep 8 00:54:47 2011 +0200| [22f95210299b1396e881d5550d187a9f115b21fd] | committer: Jean-Baptiste Kempf
Qt: don't quit the application too early
Close #4883
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=22f95210299b1396e881d5550d187a9f115b21fd
---
modules/gui/qt4/dialogs_provider.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp
index b40d1cc..6905c42 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -607,6 +607,7 @@ void DialogsProvider::streamingDialog( QWidget *parent,
if( !b_transcode_only )
{
SoutDialog *s = new SoutDialog( parent, p_intf, mrl );
+ s->setAttribute( Qt::WA_QuitOnClose, false ); // See #4883
if( s->exec() == QDialog::Accepted )
{
soutoption = s->getMrl();
@@ -619,6 +620,7 @@ void DialogsProvider::streamingDialog( QWidget *parent,
} else {
/* Convert */
ConvertDialog *s = new ConvertDialog( parent, p_intf, mrl );
+ s->setAttribute( Qt::WA_QuitOnClose, false ); // See #4883
if( s->exec() == QDialog::Accepted )
{
soutoption = s->getMrl();
More information about the vlc-commits
mailing list