History

Delete temporary directory after content has been used

David Rowe committed 10 years ago

Commit 3ca2c191 parent 8ab56fe2 files · +9 −2Browse files

Showing the changes to libraries/script-engine/src/FileScriptingInterface.cpp (1 of 2 files). Show all

Unified · Split

libraries/script-engine/src/FileScriptingInterface.cpp+0−2
@@ -51,8 +51,6 @@ void FileScriptingInterface::runUnzip(QString path, QUrl url, bool autoAdd) { · 50 unmodified lines
51 } else {51 } else {
52 qDebug() << "unzip failed";52 qDebug() << "unzip failed";
53 }53 }
54 qDebug() << "Removing temporary directory at: " + tempDir;
55 QDir(tempDir).removeRecursively();
56}54}
57 55
58// fix to check that we are only referring to a temporary directory56// fix to check that we are only referring to a temporary directory