Commit 887c772e authored by Besnard Jean-Baptiste's avatar Besnard Jean-Baptiste Committed by Rémi Duraffort

Qt : Add PLAYLIST_PREPARSE flag to drag&dropped items

Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
(cherry picked from commit f9b30861)
Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent f15aeb8d
...@@ -1134,7 +1134,7 @@ void MainInterface::dropEventPlay( QDropEvent *event, bool b_play ) ...@@ -1134,7 +1134,7 @@ void MainInterface::dropEventPlay( QDropEvent *event, bool b_play )
if( s.length() > 0 ) { if( s.length() > 0 ) {
playlist_Add( THEPL, qtu(s), NULL, playlist_Add( THEPL, qtu(s), NULL,
PLAYLIST_APPEND | (first ? PLAYLIST_GO: 0), PLAYLIST_APPEND | PLAYLIST_PREPARSE | (first ? PLAYLIST_GO: 0),
PLAYLIST_END, true, false ); PLAYLIST_END, true, false );
first = false; first = false;
RecentsMRL::getInstance( p_intf )->addRecent( s ); RecentsMRL::getInstance( p_intf )->addRecent( s );
......
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