| 393 | } |
| 394 | |
| 395 | auto StoreModel::handleFileToDirDrop(const QString &cleanedSrc, |
| 396 | const QString &cleanedDest, |
| 397 | Qt::DropAction action) -> bool { |
| 398 | if (action == Qt::MoveAction) { |
| 399 | QtPassSettings::getPass()->Move(cleanedSrc, cleanedDest); |
| 400 | } else if (action == Qt::CopyAction) { |
| 401 | QtPassSettings::getPass()->Copy(cleanedSrc, cleanedDest); |
| 402 | } |
| 403 | return true; |
| 404 | } |
| 405 | |
| 406 | auto StoreModel::handleFileToFileDrop(const QString &cleanedSrc, |
| 407 | const QString &cleanedDest, |