mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 03:45:56 +01:00
Support drag from Finder to playlist on Mac.
Fix small build thing.
This commit is contained in:
parent
19b08540ef
commit
a7d9c4d0dc
@ -34,7 +34,7 @@
|
||||
- (void) mediaKeyEvent: (int)key state: (BOOL)state repeat: (BOOL)repeat;
|
||||
@end
|
||||
|
||||
@interface AppDelegate :NSObject <NSApplicationDelegate> {
|
||||
@interface AppDelegate :NSObject { //<NSApplicationDelegate> {
|
||||
QObject* application_handler_;
|
||||
}
|
||||
|
||||
|
@ -338,7 +338,7 @@ QStringList Playlist::mimeTypes() const {
|
||||
}
|
||||
|
||||
Qt::DropActions Playlist::supportedDropActions() const {
|
||||
return Qt::MoveAction | Qt::CopyAction;
|
||||
return Qt::MoveAction | Qt::CopyAction | Qt::LinkAction;
|
||||
}
|
||||
|
||||
bool Playlist::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int, const QModelIndex&) {
|
||||
|
Loading…
Reference in New Issue
Block a user