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

On OS X drops from outside the apps are Qt::MoveActions....

This commit is contained in:
Leo Franchi 2011-08-05 07:53:30 -04:00
parent 4a3bca9bf4
commit 89cec23815

View File

@ -214,7 +214,11 @@ SourcesModel::dropMimeData( const QMimeData* data, Qt::DropAction action, int ro
Qt::DropActions
SourcesModel::supportedDropActions() const
{
#ifdef Q_OS_MAC
return Qt::CopyAction | Qt::MoveAction;
#else
return Qt::CopyAction;
#endif
}