1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-25 15:01:11 +02:00

Accept as CopyAction.

This commit is contained in:
Christian Muehlhaeuser
2014-11-15 15:40:35 +01:00
parent 875aed0103
commit d7ee7632e4

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;
}