From 315775eae846f59eecb6ab7fe2af6809545b9b6a Mon Sep 17 00:00:00 2001 From: Jonas Suhr Christensen Date: Fri, 4 May 2012 12:17:06 +0200 Subject: Setting id on static tasks --- src/taskmanager.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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(); -- cgit v1.2.3