Diffstat (limited to 'core/pim/osearch/datebooksearch.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/datebooksearch.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/pim/osearch/datebooksearch.cpp b/core/pim/osearch/datebooksearch.cpp index 8f9d472..0590252 100644 --- a/core/pim/osearch/datebooksearch.cpp +++ b/core/pim/osearch/datebooksearch.cpp | |||
@@ -38,8 +38,9 @@ void DatebookSearch::expand() | |||
38 | _dates->load(); | 38 | _dates->load(); |
39 | } | 39 | } |
40 | #ifdef LIPBOPIE_SEARCH | 40 | #ifdef LIPBOPIE_SEARCH |
41 | ORecordList<OEvent> results = _dates->matchRegexp(_search); | 41 | ORecordList<OEvent> results = _dates->matchRegexp(_search); |
42 | setText(0, text(0) + " (" + QString::number( results.count() ) + ")" ); | ||
42 | for (uint i = 0; i < results.count(); i++) { | 43 | for (uint i = 0; i < results.count(); i++) { |
43 | new EventItem( this, new OEvent( results[i] )); | 44 | new EventItem( this, new OEvent( results[i] )); |
44 | } | 45 | } |
45 | #else | 46 | #else |