summaryrefslogtreecommitdiffabout
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
parent33c04477896c52e9cfea2a29facd959f82cbf17a (diff)
downloadkdepimpi-376ffdba71ab4d7d7988229f38678394a54e5576.zip
kdepimpi-376ffdba71ab4d7d7988229f38678394a54e5576.tar.gz
kdepimpi-376ffdba71ab4d7d7988229f38678394a54e5576.tar.bz2
several fixes
Diffstat (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
@@ -337,9 +337,9 @@ void KAddressBookCardView::doSearch( const QString& s,KABC::Field *field )
#endif
{
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
@@ -294,9 +294,9 @@ void KAddressBookIconView::doSearch( const QString& s ,KABC::Field *field )
if (re.match((*fieldIt)->value( *it ).lower()) != -1)
#endif
{
mIconList.append( new AddresseeIconViewItem( fields(), addressBook(), *it, mIconView ));
- continue;
+ break;
}
}
}
}