mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Remove misc::safeRemove(): shouldn't be needed
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user