FEATURE: Added auto-suspend upon downloads completion feature

This commit is contained in:
Christophe Dumez
2010-12-31 13:36:32 +00:00
parent 6d241270b5
commit 1b08c087c0
9 changed files with 126 additions and 46 deletions

View File

@@ -137,7 +137,7 @@ public:
return extension;
}
static void shutdownComputer();
static void shutdownComputer(bool sleep=false);
static bool safeRemove(QString file_path) {
QFile MyFile(file_path);