1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

Fix workaround

This commit is contained in:
Leo Franchi 2011-09-14 18:14:28 -04:00
parent eddc7bbf4e
commit b3aa6c9a6c

View File

@ -419,14 +419,6 @@ 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
// Samething seems to be applying to Linux
// However, this workaround updates the playlist revision on reorder aswell...
#ifdef Q_WS_MAC
if ( m_dropStorage.action & Qt::CopyAction || m_dropStorage.action & Qt::MoveAction )
#else
#ifdef Q_OS_LINUX
if ( m_dropStorage.action & Qt::CopyAction || m_dropStorage.action & Qt::MoveAction )
{
onPlaylistChanged();