1
0
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:
Christian Muehlhaeuser 2011-09-07 05:33:13 +02:00
parent d3a8f57e1c
commit fe7d128056

View File

@ -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() ) );