mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 06:07:37 +02:00
Accept as CopyAction.
This commit is contained in:
@@ -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
|
// 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() ) )
|
if ( DropJob::isDropType( DropJob::Playlist, event->mimeData() ) )
|
||||||
{
|
{
|
||||||
|
event->setDropAction( Qt::CopyAction );
|
||||||
event->accept();
|
event->accept();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user