From 3c4a67b8b8d3fb554c5259f9f5ca35c5c826b13c Mon Sep 17 00:00:00 2001 From: tille Date: Wed, 14 May 2003 14:19:22 +0000 Subject: get the field where the hit was --- (limited to 'libopie/pim/ocontact.cpp') diff --git a/libopie/pim/ocontact.cpp b/libopie/pim/ocontact.cpp index a38b62b..aeb69ee 100644 --- a/libopie/pim/ocontact.cpp +++ b/libopie/pim/ocontact.cpp @@ -958,6 +958,7 @@ bool OContact::match( const QRegExp &r ) const QMap::ConstIterator it; for ( it = mMap.begin(); it != mMap.end(); ++it ) { if ( (*it).find( r ) > -1 ) { + setLastHitField( it.key() ); match = true; break; } -- cgit v0.9.0.2