Remove misc::safeRemove(): shouldn't be needed

This commit is contained in:
Christophe Dumez 2012-02-18 12:49:05 +02:00
parent 60d9bfe077
commit c25586b500
9 changed files with 45 additions and 50 deletions

View file

@ -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();