TDB2: Fix wrong comment
This commit is contained in:
committed by
Paul Beckingham
parent
3e65c3af5e
commit
181f098958
@@ -1408,7 +1408,7 @@ const std::vector <Task> TDB2::children (Task& task)
|
|||||||
if (i.getStatus () != Task::completed &&
|
if (i.getStatus () != Task::completed &&
|
||||||
i.getStatus () != Task::deleted)
|
i.getStatus () != Task::deleted)
|
||||||
{
|
{
|
||||||
// If task has the same parent, it is a sibling.
|
// If task has the given task as a parent, it is a child task.
|
||||||
if (i.get ("parent") == parent)
|
if (i.get ("parent") == parent)
|
||||||
results.push_back (i);
|
results.push_back (i);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user