mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +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();
|
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";
|
//tDebug() << Q_FUNC_INFO << "Accepting";
|
||||||
event->setDropAction( Qt::CopyAction );
|
event->setDropAction( Qt::CopyAction );
|
||||||
event->accept();
|
event->accept();
|
||||||
|
Reference in New Issue
Block a user