mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +02:00
Fix workaround
This commit is contained in:
@@ -419,14 +419,6 @@ 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
|
|
||||||
// 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 )
|
if ( m_dropStorage.action & Qt::CopyAction || m_dropStorage.action & Qt::MoveAction )
|
||||||
{
|
{
|
||||||
onPlaylistChanged();
|
onPlaylistChanged();
|
||||||
|
Reference in New Issue
Block a user