| 22 | } |
| 23 | |
| 24 | void YACReaderReadingListsView::dragMoveEvent(QDragMoveEvent *event) |
| 25 | { |
| 26 | YACReaderTreeView::dragMoveEvent(event); |
| 27 | QModelIndex destinationIndex = indexAt(event->position().toPoint()); |
| 28 | if (model()->canDropMimeData(event->mimeData(), event->proposedAction(), destinationIndex.row(), destinationIndex.column(), destinationIndex.parent())) |
| 29 | event->acceptProposedAction(); |
| 30 | } |
| 31 | |
| 32 | void YACReaderReadingListsView::dropEvent(QDropEvent *event) |
| 33 | { |
nothing calls this directly
no test coverage detected