summaryrefslogtreecommitdiff
path: root/core/pim/osearch/todosearch.cpp
Unidiff
Diffstat (limited to 'core/pim/osearch/todosearch.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/osearch/todosearch.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/pim/osearch/todosearch.cpp b/core/pim/osearch/todosearch.cpp
index 9a22ee1..fba8aa0 100644
--- a/core/pim/osearch/todosearch.cpp
+++ b/core/pim/osearch/todosearch.cpp
@@ -44,6 +44,7 @@ void TodoSearch::expand()
44 44
45#ifdef LIPBOPIE_SEARCH 45#ifdef LIPBOPIE_SEARCH
46 ORecordList<OTodo> results = _todos->matchRegexp(_search); 46 ORecordList<OTodo> results = _todos->matchRegexp(_search);
47 setText(0, text(0) + " (" + QString::number( results.count() ) + ")");
47 for (uint i = 0; i < results.count(); i++) { 48 for (uint i = 0; i < results.count(); i++) {
48 new TodoItem( this, new OTodo( results[i] )); 49 new TodoItem( this, new OTodo( results[i] ));
49 } 50 }