mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
Also append playlist content
This commit is contained in:
parent
08df9f924f
commit
faf3558754
@ -368,10 +368,10 @@ PlaylistModel::dropMimeData( const QMimeData* data, Qt::DropAction action, int r
|
||||
|
||||
DropJob* dj = new DropJob();
|
||||
|
||||
if ( !DropJob::acceptsMimeData( data, DropJob::Track | DropJob::Album | DropJob::Artist ) )
|
||||
if ( !DropJob::acceptsMimeData( data, DropJob::Track | DropJob::Playlist | DropJob::Album | DropJob::Artist ) )
|
||||
return false;
|
||||
|
||||
dj->setDropTypes( DropJob::Track | DropJob::Artist | DropJob::Album );
|
||||
dj->setDropTypes( DropJob::Track | DropJob::Playlist | DropJob::Artist | DropJob::Album );
|
||||
dj->setDropAction( DropJob::Append );
|
||||
|
||||
// On mac, drags from outside the app are still Qt::MoveActions instead of Qt::CopyAction by default
|
||||
|
Loading…
x
Reference in New Issue
Block a user