From 5d6f6e2073f42e949633290a453bb8f30d535f0a Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 3 Sep 2011 13:01:30 -0400 Subject: [PATCH] TDB2 - (Partially) Converted helper code to TDB2. --- src/helpers.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/helpers.cpp b/src/helpers.cpp index 55aa6c970..6a337ebe9 100644 --- a/src/helpers.cpp +++ b/src/helpers.cpp @@ -136,10 +136,11 @@ std::string onProjectChange (Task& task, bool scope /* = true */) std::vector all; std::vector none; - context.tdb.load (all); - - countTasks (all, project, context.tdb.getAllModified (), count_pending, count_done); - countTasks (context.tdb.getAllModified (), project, none, count_pending, count_done); +// TODO Fix. +// context.tdb.load (all); +// +// countTasks (all, project, context.tdb.getAllModified (), count_pending, count_done); +// countTasks (context.tdb.getAllModified (), project, none, count_pending, count_done); // count_done count_pending percentage // ---------- ------------- ----------