Enhancement - done command

- Implemented done command.
This commit is contained in:
Paul Beckingham 2009-06-15 11:27:50 -04:00
parent c65b6e9f48
commit 9f1880e050
5 changed files with 39 additions and 33 deletions

View file

@ -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);
}