]> git.sesse.net Git - vlc/commitdiff
Qt : Add PLAYLIST_PREPARSE flag to drag&dropped items
authorBesnard Jean-Baptiste <jbbesnard@actech-innovation.com>
Thu, 23 Jul 2009 08:59:17 +0000 (10:59 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Thu, 23 Jul 2009 11:08:10 +0000 (13:08 +0200)
Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
modules/gui/qt4/main_interface.cpp

index 1b1b46c84d330ea6eb296838d08a8c793b21c8cf..7a8ea0f75ad5fa8808fc86820a72caf98823a6ff 100644 (file)
@@ -1134,7 +1134,7 @@ void MainInterface::dropEventPlay( QDropEvent *event, bool b_play )
 
         if( s.length() > 0 ) {
             playlist_Add( THEPL, qtu(s), NULL,
-                          PLAYLIST_APPEND | (first ? PLAYLIST_GO: 0),
+                          PLAYLIST_APPEND | PLAYLIST_PREPARSE | (first ? PLAYLIST_GO: 0),
                           PLAYLIST_END, true, false );
             first = false;
             RecentsMRL::getInstance( p_intf )->addRecent( s );