From 882b5190d02c33aa8c893e8aa54bf3d38ac255c8 Mon Sep 17 00:00:00 2001 From: tille Date: Sat, 10 May 2003 12:37:35 +0000 Subject: clean up --- (limited to 'core/pim/osearch/datebooksearch.cpp') diff --git a/core/pim/osearch/datebooksearch.cpp b/core/pim/osearch/datebooksearch.cpp index 0590252..83b99f5 100644 --- a/core/pim/osearch/datebooksearch.cpp +++ b/core/pim/osearch/datebooksearch.cpp @@ -37,27 +37,10 @@ void DatebookSearch::expand() _dates = new ODateBookAccess(); _dates->load(); } -#ifdef LIPBOPIE_SEARCH ORecordList results = _dates->matchRegexp(_search); setText(0, text(0) + " (" + QString::number( results.count() ) + ")" ); for (uint i = 0; i < results.count(); i++) { new EventItem( this, new OEvent( results[i] )); } -#else - ORecordList list = _dates->allRecords(); - QArray m_currentQuery( list.count() ); - for( uint i=0; i