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

Method processDrop

gui/qt/romselection.cpp:290–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290void RomSelection::processDrop(QDropEvent *e) {
291 const QMimeData *mimeData = e->mimeData();
292
293 m_segs.clear();
294
295 if (mimeData->hasUrls()) {
296 const QList<QUrl> urlList = mimeData->urls();
297 foreach (const QUrl &url, urlList) {
298 m_segs.append(url.toLocalFile());
299 }
300 }
301
302 e->acceptProposedAction();
303 parseROMSegments();
304}
305
306/*!
307

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected