mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-08 07:07:05 +02:00
Always accept playlist drops on the sidebar
This commit is contained in:
@@ -485,8 +485,9 @@ SourceTreeView::dragMoveEvent( QDragMoveEvent* event )
|
||||
m_dropRect = QRect();
|
||||
}
|
||||
|
||||
if ( accept )
|
||||
if ( accept || DropJob::isDropType( DropJob::Playlist, event->mimeData() ) )
|
||||
{
|
||||
// Playlists are accepted always since they can be dropped anywhere
|
||||
//tDebug() << Q_FUNC_INFO << "Accepting";
|
||||
event->setDropAction( Qt::CopyAction );
|
||||
event->accept();
|
||||
|
Reference in New Issue
Block a user