mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 08:16:16 -07:00
Remove misc::safeRemove(): shouldn't be needed
This commit is contained in:
parent
60d9bfe077
commit
c25586b500
9 changed files with 45 additions and 50 deletions
|
@ -509,7 +509,7 @@ void misc::copyDir(QString src_path, QString dst_path) {
|
|||
// Copy the file from src to dest
|
||||
QFile::copy(src_child_path, dest_child_path);
|
||||
// Remove source file
|
||||
safeRemove(src_child_path);
|
||||
QFile::remove(src_child_path);
|
||||
}
|
||||
// Remove source folder
|
||||
const QString dir_name = sourceDir.dirName();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue