@@ -58,6 +58,7 @@
|
||||
#include <QScrollBar>
|
||||
#include <QtEvents>
|
||||
#include <QSettings>
|
||||
#include <QDrag>
|
||||
|
||||
#include "includes/qt_blurimage.h"
|
||||
#include "core/song.h"
|
||||
@@ -1620,3 +1621,11 @@ void PlaylistView::RatingHoverOut() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void PlaylistView::startDrag(const Qt::DropActions drop_actions) {
|
||||
|
||||
QDrag *drag = new QDrag(this);
|
||||
drag->setMimeData(model()->mimeData(selectedIndexes()));
|
||||
drag->exec(drop_actions, Qt::CopyAction);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user