From a1a58bdc324e039393acf09dd575ea0d6b4e2237 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 25 May 2014 17:35:06 -0400 Subject: [PATCH] CmdDone - Converted from A3 modifications to Task::modify. --- src/commands/CmdDone.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/commands/CmdDone.cpp b/src/commands/CmdDone.cpp index 4c26da3aa..03e04eaea 100644 --- a/src/commands/CmdDone.cpp +++ b/src/commands/CmdDone.cpp @@ -62,9 +62,6 @@ int CmdDone::execute (std::string& output) return 1; } - // Apply the command line modifications to the new task. - A3 modifications = context.a3.extract_modifications (); - // Accumulated project change notifications. std::map projectChanges; @@ -82,7 +79,7 @@ int CmdDone::execute (std::string& output) task->id, task->get ("description")); - modify_task_annotate (*task, modifications); + task->modify (Task::modAnnotate); task->setStatus (Task::completed); if (! task->has ("end")) task->setEnd ();