summaryrefslogtreecommitdiff
path: root/src/update/UpdateActivity.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-06-22 00:44:30 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-06-22 00:44:30 (GMT)
commit2e48bd149ce70eb5e0f5ade518ff7709708ef49e (patch)
tree7b61d7b8bc56b0e1021e26c2832fbcc257259c7a /src/update/UpdateActivity.cpp
parent3c91e526bb5576727e53b98fb850570074f9d036 (diff)
downloadpowder-2e48bd149ce70eb5e0f5ade518ff7709708ef49e.zip
powder-2e48bd149ce70eb5e0f5ade518ff7709708ef49e.tar.gz
Stage 2 of autoupdate working
Diffstat (limited to 'src/update/UpdateActivity.cpp')
-rw-r--r--src/update/UpdateActivity.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/update/UpdateActivity.cpp b/src/update/UpdateActivity.cpp
index a8fb7fc..74343c1 100644
--- a/src/update/UpdateActivity.cpp
+++ b/src/update/UpdateActivity.cpp
@@ -11,6 +11,7 @@
#include "UpdateActivity.h"
#include "tasks/Task.h"
#include "client/HTTP.h"
+#include "client/Client.h"
#include "Update.h"
@@ -105,6 +106,7 @@ private:
notifyError("Update failed - try downloading a new version.");
}
+ Client::Ref().SetPref("version.update", true);
return;
corrupt: