Commit 595db21a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt4: remove unnecessary path to URL conversion

Recent entries are already MRLs.
parent cb6e4c62
......@@ -758,12 +758,7 @@ void DialogsProvider::SDMenuAction( const QString& data )
**/
void DialogsProvider::playMRL( const QString &mrl )
{
char *uri = make_URI( qtu( mrl ), NULL );
if( unlikely( uri == NULL ) )
return;
playlist_Add( THEPL, uri, NULL,
PLAYLIST_APPEND | PLAYLIST_GO , PLAYLIST_END, true, false );
playlist_Add( THEPL, qtu(mrl), NULL,
PLAYLIST_APPEND | PLAYLIST_GO , PLAYLIST_END, true, false );
RecentsMRL::getInstance( p_intf )->addRecent( mrl );
free( uri );
}
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