MCPcopy Create free account
hub / github.com/MultiMC/Launcher / dragMoveEvent

Method dragMoveEvent

launcher/ui/instanceview/InstanceView.cpp:585–596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

583}
584
585void InstanceView::dragMoveEvent(QDragMoveEvent *event)
586{
587 executeDelayedItemsLayout();
588
589 if (!isDragEventAccepted(event))
590 {
591 return;
592 }
593 m_lastDragPosition = event->pos() + offset();
594 viewport()->update();
595 event->accept();
596}
597
598void InstanceView::dragLeaveEvent(QDragLeaveEvent *event)
599{

Callers

nothing calls this directly

Calls 2

updateMethod · 0.45
acceptMethod · 0.45

Tested by

no test coverage detected