author | zautrix <zautrix> | 2004-09-11 22:40:15 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-11 22:40:15 (UTC) |
commit | a040c9d56282dae396b02627fafb602e44323837 (patch) (unidiff) | |
tree | 9ee997f51e46a1ae6ab5aeaab709f1b8e138f3df /kaddressbook/views | |
parent | 53dda80aaab72d7efdbed8a206dc1fa64fed10ee (diff) | |
download | kdepimpi-a040c9d56282dae396b02627fafb602e44323837.zip kdepimpi-a040c9d56282dae396b02627fafb602e44323837.tar.gz kdepimpi-a040c9d56282dae396b02627fafb602e44323837.tar.bz2 |
Added configure for search
-rw-r--r-- | kaddressbook/views/kaddressbooktableview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kaddressbook/views/kaddressbooktableview.cpp b/kaddressbook/views/kaddressbooktableview.cpp index 12f7c27..63ad0ed 100644 --- a/kaddressbook/views/kaddressbooktableview.cpp +++ b/kaddressbook/views/kaddressbooktableview.cpp | |||
@@ -147,13 +147,13 @@ void KAddressBookTableView::doSearch( const QString& s, KABC::Field *field ) | |||
147 | if (re.search((*fieldIt)->value( *it ).lower()) != -1) | 147 | if (re.search((*fieldIt)->value( *it ).lower()) != -1) |
148 | #else | 148 | #else |
149 | if (re.match((*fieldIt)->value( *it ).lower()) != -1) | 149 | if (re.match((*fieldIt)->value( *it ).lower()) != -1) |
150 | #endif | 150 | #endif |
151 | { | 151 | { |
152 | ContactListViewItem *item = new ContactListViewItem(*it, mListView, addressBook(), fields()); | 152 | ContactListViewItem *item = new ContactListViewItem(*it, mListView, addressBook(), fields()); |
153 | continue; | 153 | break; |
154 | } | 154 | } |
155 | } | 155 | } |
156 | } | 156 | } |
157 | } | 157 | } |
158 | // Sometimes the background pixmap gets messed up when we add lots | 158 | // Sometimes the background pixmap gets messed up when we add lots |
159 | // of items. | 159 | // of items. |