Commit 22f95210 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: don't quit the application too early

Close #4883
parent 60d07435
...@@ -607,6 +607,7 @@ void DialogsProvider::streamingDialog( QWidget *parent, ...@@ -607,6 +607,7 @@ void DialogsProvider::streamingDialog( QWidget *parent,
if( !b_transcode_only ) if( !b_transcode_only )
{ {
SoutDialog *s = new SoutDialog( parent, p_intf, mrl ); SoutDialog *s = new SoutDialog( parent, p_intf, mrl );
s->setAttribute( Qt::WA_QuitOnClose, false ); // See #4883
if( s->exec() == QDialog::Accepted ) if( s->exec() == QDialog::Accepted )
{ {
soutoption = s->getMrl(); soutoption = s->getMrl();
...@@ -619,6 +620,7 @@ void DialogsProvider::streamingDialog( QWidget *parent, ...@@ -619,6 +620,7 @@ void DialogsProvider::streamingDialog( QWidget *parent,
} else { } else {
/* Convert */ /* Convert */
ConvertDialog *s = new ConvertDialog( parent, p_intf, mrl ); ConvertDialog *s = new ConvertDialog( parent, p_intf, mrl );
s->setAttribute( Qt::WA_QuitOnClose, false ); // See #4883
if( s->exec() == QDialog::Accepted ) if( s->exec() == QDialog::Accepted )
{ {
soutoption = s->getMrl(); soutoption = s->getMrl();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment