mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 23:39:42 +01:00
* Fixed TWK-499: Update playlist either wether it's been a move or a copy.
This commit is contained in:
parent
d3a8f57e1c
commit
fe7d128056
@ -421,13 +421,7 @@ PlaylistModel::parsedDroppedTracks( QList< query_ptr > tracks )
|
||||
}
|
||||
emit endInsertRows();
|
||||
|
||||
// Work around Qt-on-mac bug where drags from outside the app are Qt::MoveAction
|
||||
// instead of Qt::CopyAction
|
||||
#ifdef Q_WS_MAC
|
||||
if ( m_dropStorage.action & Qt::CopyAction || m_dropStorage.action & Qt::MoveAction )
|
||||
#else
|
||||
if ( m_dropStorage.action & Qt::CopyAction )
|
||||
#endif
|
||||
{
|
||||
onPlaylistChanged( true );
|
||||
emit trackCountChanged( rowCount( QModelIndex() ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user