]> git.sesse.net Git - vlc/commitdiff
Qt: use pl_Unlocked in playlist_Add calls
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 18 May 2014 10:24:05 +0000 (12:24 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 18 May 2014 10:24:05 +0000 (12:24 +0200)
modules/gui/qt4/dialogs_provider.cpp

index eb31cf70d74cb3600de96ef827627978205dc3a4..93de743be13bbaf6e8cc021e38ae033fa1c64cea 100644 (file)
@@ -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 );
 }