summaryrefslogtreecommitdiffabout
path: root/kaddressbook/views
Side-by-side diff
Diffstat (limited to 'kaddressbook/views') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/views/kaddressbookcardview.cpp2
-rw-r--r--kaddressbook/views/kaddressbookiconview.cpp2
2 files changed, 2 insertions, 2 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
@@ -339,5 +339,5 @@ void KAddressBookCardView::doSearch( const QString& s,KABC::Field *field )
new AddresseeCardViewItem(fields(), mShowEmptyFields,
addressBook(), *it, mCardView);
- continue;
+ break;
}
}
diff --git a/kaddressbook/views/kaddressbookiconview.cpp b/kaddressbook/views/kaddressbookiconview.cpp
index faeda06..ef0a23a 100644
--- a/kaddressbook/views/kaddressbookiconview.cpp
+++ b/kaddressbook/views/kaddressbookiconview.cpp
@@ -296,5 +296,5 @@ void KAddressBookIconView::doSearch( const QString& s ,KABC::Field *field )
{
mIconList.append( new AddresseeIconViewItem( fields(), addressBook(), *it, mIconView ));
- continue;
+ break;
}
}