1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-08 23:26:40 +02: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 Qt::DropActions
SourcesModel::supportedDropActions() const SourcesModel::supportedDropActions() const
{ {
#ifdef Q_OS_MAC
return Qt::CopyAction | Qt::MoveAction;
#else
return Qt::CopyAction; return Qt::CopyAction;
#endif
} }