MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / dropEvent

Method dropEvent

gui/qt/lcdwidget.cpp:97–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97void LCDWidget::dropEvent(QDropEvent *e) {
98 if (m_isSendingRom) {
99 emit sendROM(m_dragRom);
100 } else {
101 m_transferDrag = false;
102 sendingHandler->dropOccured(e, (e->pos().x() < width() / 2) ? LINK_ARCH : LINK_RAM);
103 }
104}
105
106void LCDWidget::dragEnterEvent(QDragEnterEvent *e) {
107 m_dragRom = sendingROM(e, &m_isSendingRom);

Callers

nothing calls this directly

Calls 1

dropOccuredMethod · 0.80

Tested by

no test coverage detected