MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / dragMoveEvent

Method dragMoveEvent

launcher/ui/instanceview/InstanceView.cpp:618–628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

616}
617
618void InstanceView::dragMoveEvent(QDragMoveEvent* event)
619{
620 executeDelayedItemsLayout();
621
622 if (!isDragEventAccepted(event)) {
623 return;
624 }
625 m_lastDragPosition = event->pos() + offset();
626 viewport()->update();
627 event->accept();
628}
629
630void InstanceView::dragLeaveEvent([[maybe_unused]] QDragLeaveEvent* event)
631{

Callers

nothing calls this directly

Calls 2

updateMethod · 0.45
acceptMethod · 0.45

Tested by

no test coverage detected