mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Fix all compilation issues after enabling QT_DISABLE_DEPRECATED_UP_TO
This commit is contained in:
@ -24,7 +24,7 @@ void YACReaderReadingListsView::dragEnterEvent(QDragEnterEvent *event)
|
||||
void YACReaderReadingListsView::dragMoveEvent(QDragMoveEvent *event)
|
||||
{
|
||||
YACReaderTreeView::dragMoveEvent(event);
|
||||
QModelIndex destinationIndex = indexAt(event->pos());
|
||||
QModelIndex destinationIndex = indexAt(event->position().toPoint());
|
||||
if (model()->canDropMimeData(event->mimeData(), event->proposedAction(), destinationIndex.row(), destinationIndex.column(), destinationIndex.parent()))
|
||||
event->acceptProposedAction();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user