FEATURE: Added Auto-Shutdown on downloads completion feature (Linux Only for now)

This commit is contained in:
Christophe Dumez
2010-08-16 17:35:32 +00:00
parent 0af44eadb6
commit df677789d2
10 changed files with 74 additions and 1 deletions

View File

@@ -91,6 +91,8 @@ public:
return x;
}
static void shutdownComputer();
static bool safeRemove(QString file_path) {
QFile MyFile(file_path);
if(!MyFile.exists()) return true;