]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/dialogs/open.cpp
Qt: don't call SeparateEntries twice
[vlc] / modules / gui / qt4 / dialogs / open.cpp
index 47e14fe5851e943c213aff6da5863ef5d7e1117e..83901083bf6d15c378539d62bd4f91e0cdc869ed 100644 (file)
@@ -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 */