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

@@ -76,7 +76,7 @@ void TorrentCreatorThread::create(QString _input_path, QString _save_path, QStri
input_path = _input_path;
save_path = _save_path;
if(QFile(save_path).exists())
misc::safeRemove(save_path);
QFile::remove(save_path);
trackers = _trackers;
url_seeds = _url_seeds;
comment = _comment;