MCPcopy Create free account
hub / github.com/IJHack/QtPass / handleFileDrop

Method handleFileDrop

src/storemodel.cpp:385–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383}
384
385auto StoreModel::handleFileDrop(const QString &cleanedSrc,
386 const QString &cleanedDest,
387 const QFileInfo &destFileinfo,
388 Qt::DropAction action) -> bool {
389 if (destFileinfo.isDir()) {
390 return handleFileToDirDrop(cleanedSrc, cleanedDest, action);
391 }
392 return handleFileToFileDrop(cleanedSrc, cleanedDest, action);
393}
394
395auto StoreModel::handleFileToDirDrop(const QString &cleanedSrc,
396 const QString &cleanedDest,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected