Delete temporary after they aren't needed. Closes #1188.

This commit is contained in:
sledgehammer999
2014-01-02 22:43:17 +02:00
parent 4158465109
commit f93374a946
6 changed files with 12 additions and 5 deletions

View File

@@ -163,7 +163,7 @@ void SearchEngine::pythonDownloadSuccess(QString url, QString file_path) {
on_search_button_clicked();
}
// Delete temp file
QFile::remove(file_path+".msi");
fsutils::forceRemove(file_path);
}
void SearchEngine::pythonDownloadFailure(QString url, QString error) {