summaryrefslogtreecommitdiffabout
path: root/kaddressbook/views/kaddressbookcardview.cpp
authorzautrix <zautrix>2005-01-17 00:10:19 (UTC)
committer zautrix <zautrix>2005-01-17 00:10:19 (UTC)
commit376ffdba71ab4d7d7988229f38678394a54e5576 (patch) (side-by-side diff)
treef70fd4d442cf584db0d9d921dce1b88ab47ca1c5 /kaddressbook/views/kaddressbookcardview.cpp
parent33c04477896c52e9cfea2a29facd959f82cbf17a (diff)
downloadkdepimpi-376ffdba71ab4d7d7988229f38678394a54e5576.zip
kdepimpi-376ffdba71ab4d7d7988229f38678394a54e5576.tar.gz
kdepimpi-376ffdba71ab4d7d7988229f38678394a54e5576.tar.bz2
several fixes
Diffstat (limited to 'kaddressbook/views/kaddressbookcardview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/views/kaddressbookcardview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kaddressbook/views/kaddressbookcardview.cpp b/kaddressbook/views/kaddressbookcardview.cpp
index 107be59..6fcd73f 100644
--- a/kaddressbook/views/kaddressbookcardview.cpp
+++ b/kaddressbook/views/kaddressbookcardview.cpp
@@ -333,17 +333,17 @@ void KAddressBookCardView::doSearch( const QString& s,KABC::Field *field )
#if QT_VERSION >= 300
if (re.search((*fieldIt)->value( *it ).lower()) != -1)
#else
if (re.match((*fieldIt)->value( *it ).lower()) != -1)
#endif
{
new AddresseeCardViewItem(fields(), mShowEmptyFields,
addressBook(), *it, mCardView);
- continue;
+ break;
}
}
}
}
mCardView->viewport()->setUpdatesEnabled( true );
mCardView->viewport()->update();
if ( mCardView->firstItem() ) {
mCardView->setCurrentItem ( mCardView->firstItem() );