From 33e8266df2b1de424d15506d22d827b297ea65a6 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Fri, 1 Aug 2008 17:26:22 -0700 Subject: [PATCH] Fix potential segfault. --- modules/gui/qt4/dialogs/open.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/gui/qt4/dialogs/open.cpp b/modules/gui/qt4/dialogs/open.cpp index 143e9df7a5..3a13ca9e67 100644 --- a/modules/gui/qt4/dialogs/open.cpp +++ b/modules/gui/qt4/dialogs/open.cpp @@ -337,6 +337,8 @@ void OpenDialog::stream( bool b_transcode_only ) { mrl = ui.advancedLineInput->text(); toggleVisible(); + QStringList listMRL = SeparateEntries( mrl ); + if( listMRL.size() > 0 ) THEDP->streamingDialog( this, SeparateEntries( mrl )[0], b_transcode_only ); } -- 2.39.2