Commands - add, log
- Made code more consistent between the two commands.
This commit is contained in:
@@ -57,7 +57,7 @@ int CmdAdd::execute (std::string& output)
|
||||
std::vector <Task> all;
|
||||
context.tdb.loadPending (all);
|
||||
|
||||
// Every new task needs a UUID.
|
||||
// Every task needs a UUID.
|
||||
Task task;
|
||||
task.set ("uuid", uuid ());
|
||||
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <sstream>
|
||||
#include <Context.h>
|
||||
#include <text.h>
|
||||
#include <i18n.h>
|
||||
|
||||
Reference in New Issue
Block a user