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;
|
- (void) mediaKeyEvent: (int)key state: (BOOL)state repeat: (BOOL)repeat;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface AppDelegate :NSObject <NSApplicationDelegate> {
|
@interface AppDelegate :NSObject { //<NSApplicationDelegate> {
|
||||||
QObject* application_handler_;
|
QObject* application_handler_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -338,7 +338,7 @@ QStringList Playlist::mimeTypes() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
Qt::DropActions Playlist::supportedDropActions() 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&) {
|
bool Playlist::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int, const QModelIndex&) {
|
||||||
|
|
Loading…
Reference in New Issue