mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-21 07:43:08 +02:00
CmdDenotate
- Converted from A3 to Filter.
This commit is contained in:
parent
df1f571061
commit
4e9c8ede2b
1 changed files with 3 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
|||
#include <cmake.h>
|
||||
#include <iostream>
|
||||
#include <Context.h>
|
||||
#include <Filter.h>
|
||||
#include <text.h>
|
||||
#include <util.h>
|
||||
#include <i18n.h>
|
||||
|
@ -53,8 +54,9 @@ int CmdDenotate::execute (std::string& output)
|
|||
bool sensitive = context.config.getBoolean ("search.case.sensitive");
|
||||
|
||||
// Apply filter.
|
||||
Filter filter;
|
||||
std::vector <Task> filtered;
|
||||
filter (filtered);
|
||||
filter.subset (filtered);
|
||||
if (filtered.size () == 0)
|
||||
{
|
||||
context.footnote (STRING_FEEDBACK_NO_TASKS_SP);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue