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

Function sendingROM

gui/qt/utils.cpp:155–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155QString sendingROM(QDragEnterEvent *e, bool *value) {
156 QString ret;
157 if (value) { *value = false; }
158 if (e->mimeData()->urls().size() == 1) {
159 ret = e->mimeData()->urls().at(0).toLocalFile();
160 if (ret.endsWith(QStringLiteral("rom"), Qt::CaseInsensitive)) {
161 e->accept();
162 if (value) { *value = true; }
163 }
164 }
165 return ret;
166}
167
168#ifdef Q_OS_WIN
169#include <windows.h>

Callers 2

dragEnterEventMethod · 0.85
dragEnterEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected