diff options
author | Jonas Suhr Christensen <jsc@umbraculum.org> | 2012-05-04 12:17:06 +0200 |
---|---|---|
committer | Jonas Suhr Christensen <jsc@umbraculum.org> | 2012-05-04 12:17:06 +0200 |
commit | 315775eae846f59eecb6ab7fe2af6809545b9b6a (patch) | |
tree | 4c96d4db35c3601558f4e94724c6eef7b3147cbd /src | |
parent | a53cf7e9f36021a43259c94a34107c2df9bdca12 (diff) |
Setting id on static tasks
Diffstat (limited to 'src')
-rw-r--r-- | src/taskmanager.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/taskmanager.cc b/src/taskmanager.cc index 2526341..1941069 100644 --- a/src/taskmanager.cc +++ b/src/taskmanager.cc @@ -44,18 +44,23 @@ TaskManager::TaskManager() { task_t t; t.title = "root"; + t.id = ROOT_ID; tree.insertAsChild(0, ROOT_ID, t); t.title = "Finished"; + t.id = FINISHED_ID; tree.insertAsChild(ROOT_ID, FINISHED_ID, t); t.title = "Backlog"; + t.id = BACKLOG_ID; tree.insertAsChild(ROOT_ID, BACKLOG_ID, t); t.title = "Lost+Found"; + t.id = LOSTFOUND_ID; tree.insertAsChild(ROOT_ID, LOSTFOUND_ID, t); t.title = "Projects"; + t.id = PROJECTS_ID; tree.insertAsChild(ROOT_ID, PROJECTS_ID, t); tree.toStdOut(); |