Playlist Management Is A Bit Of A Pain...
Posted: Tue Sep 25, 2018 2:30 am
Anyone have any insight on why "playlist.cpp" seems to have disabled dragging items in the playlist (though, from my reading of QT documentation "listView->setDragEnabled" should default to true anyhow) and therefore seems to want instead to insisting on the miserable click-to-move-up click-to-move-down method of sorting?:
#define DRAG_ITEMS 0
...
#if DRAG_ITEMS
listView->setSelectionMode(QAbstractItemView::SingleSelection);
listView->setDragEnabled(true);
listView->setAcceptDrops(true);
listView->setDropIndicatorShown(true);
listView->setDragDropMode(QAbstractItemView::InternalMove);
#endif
#define DRAG_ITEMS 0
...
#if DRAG_ITEMS
listView->setSelectionMode(QAbstractItemView::SingleSelection);
listView->setDragEnabled(true);
listView->setAcceptDrops(true);
listView->setDropIndicatorShown(true);
listView->setDragDropMode(QAbstractItemView::InternalMove);
#endif