summaryrefslogtreecommitdiff
path: root/src/tasks
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-07-29 00:33:28 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-07-29 00:33:28 (GMT)
commit6cc4648929a8f4fc45531e4637f19b6b2e45f0fd (patch)
tree854de1d4daad23ecdef968dd34565b572c856511 /src/tasks
parentdf3b1e2a6210b45df8bcace1db81a0a0881efbab (diff)
downloadpowder-6cc4648929a8f4fc45531e4637f19b6b2e45f0fd.zip
powder-6cc4648929a8f4fc45531e4637f19b6b2e45f0fd.tar.gz
Filebrowser search, cleaner filenames
Diffstat (limited to 'src/tasks')
-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;