mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Enhancement - done command
- Implemented done command.
This commit is contained in:
parent
c65b6e9f48
commit
9f1880e050
5 changed files with 39 additions and 33 deletions
|
@ -109,7 +109,6 @@ void TDB::lock (bool lockFile /* = true */)
|
|||
mLock = lockFile;
|
||||
|
||||
mPending.clear ();
|
||||
// mCompleted.clear ();
|
||||
mNew.clear ();
|
||||
mPending.clear ();
|
||||
|
||||
|
@ -128,7 +127,6 @@ void TDB::unlock ()
|
|||
if (mAllOpenAndLocked)
|
||||
{
|
||||
mPending.clear ();
|
||||
// mCompleted.clear ();
|
||||
mNew.clear ();
|
||||
mModified.clear ();
|
||||
|
||||
|
@ -238,7 +236,6 @@ int TDB::loadCompleted (std::vector <Task>& tasks, Filter& filter)
|
|||
Task task (line);
|
||||
task.id = mId++;
|
||||
|
||||
// mCompleted.push_back (task);
|
||||
if (filter.pass (task))
|
||||
tasks.push_back (task);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue