Clean up transcoded files from /tmp

This commit is contained in:
David Sansome 2010-08-29 19:26:20 +00:00
parent 4b381e00fd
commit 93b35a6379

View File

@ -184,6 +184,10 @@ void Organise::ProcessSomeFiles() {
files_with_errors_ << task.filename_; files_with_errors_ << task.filename_;
} }
// Clean up the temporary transcoded file
if (!task.transcoded_filename_.isEmpty())
QFile::remove(task.transcoded_filename_);
progress_++; progress_++;
} }
SetSongProgress(0); SetSongProgress(0);