1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 14:16:32 +02:00

Accept as CopyAction.

This commit is contained in:
Christian Muehlhaeuser
2014-11-15 15:40:35 +01:00
parent cdbdd0cc54
commit 69f64c041c

View File

@@ -779,6 +779,7 @@ SourceTreeView::dragMoveEvent( QDragMoveEvent* event )
// Don't highlight the drop for a playlist, as it won't get added to the playlist but created generally
if ( DropJob::isDropType( DropJob::Playlist, event->mimeData() ) )
{
event->setDropAction( Qt::CopyAction );
event->accept();
return;
}