]> git.sesse.net Git - vlc/commitdiff
Qt: don't call SeparateEntries twice
authorJean-Philippe Andre <jpeg@via.ecp.fr>
Fri, 22 Aug 2008 02:07:54 +0000 (22:07 -0400)
committerJean-Philippe Andre <jpeg@via.ecp.fr>
Fri, 22 Aug 2008 02:08:14 +0000 (22:08 -0400)
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 */