summaryrefslogtreecommitdiff
path: root/src/tasks/Task.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tasks/Task.h')
-rw-r--r--src/tasks/Task.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tasks/Task.h b/src/tasks/Task.h
index f11e0b9..5a89278 100644
--- a/src/tasks/Task.h
+++ b/src/tasks/Task.h
@@ -23,7 +23,7 @@ public:
std::string GetError();
std::string GetStatus();
void Poll();
- Task() { progress = 0; }
+ Task() : listener(NULL) { progress = 0; }
virtual ~Task();
protected:
int progress;