Commands - add, log

- Made code more consistent between the two commands.
This commit is contained in:
Paul Beckingham
2011-06-26 23:58:17 -04:00
parent 32cbe7a049
commit f5ea55031c
2 changed files with 1 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ int CmdAdd::execute (std::string& output)
std::vector <Task> all; std::vector <Task> all;
context.tdb.loadPending (all); context.tdb.loadPending (all);
// Every new task needs a UUID. // Every task needs a UUID.
Task task; Task task;
task.set ("uuid", uuid ()); task.set ("uuid", uuid ());

View File

@@ -27,7 +27,6 @@
#define L10N // Localization complete. #define L10N // Localization complete.
#include <sstream>
#include <Context.h> #include <Context.h>
#include <text.h> #include <text.h>
#include <i18n.h> #include <i18n.h>