| 651 | } |
| 652 | |
| 653 | bool moveByCopy(const QString& source, const QString& dest) |
| 654 | { |
| 655 | if (!copy(source, dest)()) { // copy |
| 656 | qDebug() << "Copy of" << source << "to" << dest << "failed!"; |
| 657 | return false; |
| 658 | } |
| 659 | if (!deletePath(source)) { // remove original |
| 660 | qDebug() << "Deletion of" << source << "failed!"; |
| 661 | return false; |
| 662 | }; |
| 663 | return true; |
| 664 | } |
| 665 | |
| 666 | bool move(const QString& source, const QString& dest) |
| 667 | { |
no test coverage detected