Commit 5ea03a66 authored by Jean-Philippe Andre's avatar Jean-Philippe Andre

Qt: don't call SeparateEntries twice

parent 03d3899e
......@@ -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 */
......
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