From: Jean-Philippe Andre Date: Fri, 22 Aug 2008 02:07:54 +0000 (-0400) Subject: Qt: don't call SeparateEntries twice X-Git-Tag: 0.9.0~116 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=5ea03a66ee4c567be50b28c84982b49b3c9e6d90;p=vlc Qt: don't call SeparateEntries twice --- diff --git a/modules/gui/qt4/dialogs/open.cpp b/modules/gui/qt4/dialogs/open.cpp index 47e14fe585..83901083bf 100644 --- a/modules/gui/qt4/dialogs/open.cpp +++ b/modules/gui/qt4/dialogs/open.cpp @@ -344,7 +344,7 @@ void OpenDialog::stream( bool b_transcode_only ) toggleVisible(); QStringList listMRL = SeparateEntries( mrl ); if( listMRL.size() > 0 ) - THEDP->streamingDialog( this, SeparateEntries( mrl )[0], b_transcode_only ); + THEDP->streamingDialog( this, listMRL[0], b_transcode_only ); } /* Update the MRL */