TDB2: Fix wrong comment

This commit is contained in:
Tomas Babej 2016-03-20 15:46:17 +01:00 committed by Paul Beckingham
parent 56a897511f
commit 4465b48f75

View file

@ -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);
} }