mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
Fix some event loop reentrancy madness by creating the playlist on the event loop
This commit is contained in:
parent
f3dfc9631c
commit
f94fd218a0
@ -256,7 +256,7 @@ CategoryAddItem::dropMimeData( const QMimeData* data, Qt::DropAction )
|
||||
if ( data->hasFormat( "application/tomahawk.dragsource.type" ) )
|
||||
dj->setProperty( "dragsource", QString::fromUtf8( data->data( "application/tomahawk.dragsource.type" ) ) );
|
||||
|
||||
connect( dj, SIGNAL( tracks( QList< Tomahawk::query_ptr > ) ), this, SLOT( parsedDroppedTracks( QList< Tomahawk::query_ptr > ) ) );
|
||||
connect( dj, SIGNAL( tracks( QList< Tomahawk::query_ptr > ) ), this, SLOT( parsedDroppedTracks( QList< Tomahawk::query_ptr > ) ), Qt::QueuedConnection );
|
||||
if ( dropType() == DropTypeAllFromArtist )
|
||||
dj->setGetWholeArtists( true );
|
||||
if ( dropType() == DropTypeThisAlbum )
|
||||
|
Loading…
x
Reference in New Issue
Block a user