Code Cleanup
- Replaced multiple Task:setX methods with Task::setAsNow (x).
This commit is contained in:
@@ -78,7 +78,7 @@ int CmdStart::execute (std::string& output)
|
||||
task->id,
|
||||
task->get ("description"));
|
||||
task->modify (Task::modAnnotate);
|
||||
task->setStart ();
|
||||
task->setAsNow ("start");
|
||||
|
||||
if (context.config.getBoolean ("journal.time"))
|
||||
task->addAnnotation (context.config.get ("journal.time.start.annotation"));
|
||||
|
||||
Reference in New Issue
Block a user