From 990436710657dbba9740aff17825295935f1e9e8 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Sun, 2 Oct 2011 21:22:42 -0400 Subject: [PATCH] Proper append drop job type for playlist drops --- src/sourcetree/items/playlistitems.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sourcetree/items/playlistitems.cpp b/src/sourcetree/items/playlistitems.cpp index 6d79395d5..613ab76ff 100644 --- a/src/sourcetree/items/playlistitems.cpp +++ b/src/sourcetree/items/playlistitems.cpp @@ -183,6 +183,7 @@ PlaylistItem::dropMimeData( const QMimeData* data, Qt::DropAction action ) DropJob *dj = new DropJob(); dj->setDropTypes( DropJob::Track ); + dj->setDropAction( DropJob::Append ); connect( dj, SIGNAL( tracks( QList< Tomahawk::query_ptr > ) ), this, SLOT( parsedDroppedTracks( QList< Tomahawk::query_ptr > ) ) );