mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 05:37:29 +02:00
* Fixed TWK-499: Update playlist either wether it's been a move or a copy.
This commit is contained in:
@@ -421,13 +421,7 @@ PlaylistModel::parsedDroppedTracks( QList< query_ptr > tracks )
|
|||||||
}
|
}
|
||||||
emit endInsertRows();
|
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 )
|
if ( m_dropStorage.action & Qt::CopyAction || m_dropStorage.action & Qt::MoveAction )
|
||||||
#else
|
|
||||||
if ( m_dropStorage.action & Qt::CopyAction )
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
onPlaylistChanged( true );
|
onPlaylistChanged( true );
|
||||||
emit trackCountChanged( rowCount( QModelIndex() ) );
|
emit trackCountChanged( rowCount( QModelIndex() ) );
|
||||||
|
Reference in New Issue
Block a user