Commit 84d9c73e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: use pl_Unlocked in playlist_Add calls

parent c68b47dd
......@@ -484,7 +484,7 @@ void DialogsProvider::openUrlDialog()
playlist_Add( THEPL, qtu(url), NULL,
!oud.shouldEnqueue() ? ( PLAYLIST_APPEND | PLAYLIST_GO )
: ( PLAYLIST_APPEND | PLAYLIST_PREPARSE ),
PLAYLIST_END, true, false );
PLAYLIST_END, true, pl_Unlocked );
RecentsMRL::getInstance( p_intf )->addRecent( url );
}
......@@ -819,6 +819,6 @@ void DialogsProvider::SDMenuAction( const QString& data )
void DialogsProvider::playMRL( const QString &mrl )
{
playlist_Add( THEPL, qtu(mrl), NULL,
PLAYLIST_APPEND | PLAYLIST_GO , PLAYLIST_END, true, false );
PLAYLIST_APPEND | PLAYLIST_GO , PLAYLIST_END, true, pl_Unlocked );
RecentsMRL::getInstance( p_intf )->addRecent( 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