MCPcopy Create free account
hub / github.com/QNapi/qnapi / dropEvent

Method dropEvent

gui/src/forms/frmprogress.cpp:226–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226void frmProgress::dropEvent(QDropEvent *event) {
227 QList<QUrl> urlList;
228 QFileInfo info;
229
230 urlList = event->mimeData()->urls();
231
232 foreach (QUrl url, urlList) {
233 info.setFile(url.toLocalFile());
234 if (!info.exists() || !info.isFile()) continue;
235 enqueueFile(url.toLocalFile());
236 }
237}
238
239GetThread::GetThread()
240 : langBackupPassed(false), config(LibQNapi::loadConfig()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected