From 08f9d5965b127b0b889b96cf16b7d34b5a9a6928 Mon Sep 17 00:00:00 2001 From: tille Date: Thu, 08 May 2003 13:22:51 +0000 Subject: now it 'works' with the current libopie, again --- (limited to 'core/pim/osearch/todosearch.cpp') diff --git a/core/pim/osearch/todosearch.cpp b/core/pim/osearch/todosearch.cpp index 82fae8d..9a22ee1 100644 --- a/core/pim/osearch/todosearch.cpp +++ b/core/pim/osearch/todosearch.cpp @@ -42,11 +42,12 @@ void TodoSearch::expand() _todos->load(); } +#ifdef LIPBOPIE_SEARCH ORecordList results = _todos->matchRegexp(_search); for (uint i = 0; i < results.count(); i++) { new TodoItem( this, new OTodo( results[i] )); } -/* +#else ORecordList list = _todos->allRecords(); QArray m_currentQuery( list.count() ); for( uint i=0; i