summaryrefslogtreecommitdiffabout
path: root/kaddressbook/views/kaddressbooktableview.cpp
authorzautrix <zautrix>2005-01-26 12:45:38 (UTC)
committer zautrix <zautrix>2005-01-26 12:45:38 (UTC)
commit96fc3903cf690957d0242d7aa2894bd64800edcc (patch) (side-by-side diff)
tree6d4f6f565ffc2a0e72a55a5e4ff3c7d6bb08cbe0 /kaddressbook/views/kaddressbooktableview.cpp
parentebe38bec081a9ab226ea0de7e38ac2377d6bd1c0 (diff)
downloadkdepimpi-96fc3903cf690957d0242d7aa2894bd64800edcc.zip
kdepimpi-96fc3903cf690957d0242d7aa2894bd64800edcc.tar.gz
kdepimpi-96fc3903cf690957d0242d7aa2894bd64800edcc.tar.bz2
small fixes
Diffstat (limited to 'kaddressbook/views/kaddressbooktableview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/views/kaddressbooktableview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/kaddressbook/views/kaddressbooktableview.cpp b/kaddressbook/views/kaddressbooktableview.cpp
index 69802a4..b73ceaa 100644
--- a/kaddressbook/views/kaddressbooktableview.cpp
+++ b/kaddressbook/views/kaddressbooktableview.cpp
@@ -172,16 +172,17 @@ void KAddressBookTableView::doSearch( const QString& s, KABC::Field *field )
continue;
for ( fieldIt = fieldList.begin(); fieldIt != fieldList.end(); ++fieldIt ) {
#if QT_VERSION >= 0x030000
if (re.search((*fieldIt)->value( *it ).lower()) != -1)
#else
if (re.match((*fieldIt)->value( *it ).lower()) != -1)
#endif
{
+ //qDebug("match %s %s %s", pattern.latin1(), (*fieldIt)->value( *it ).latin1(), (*fieldIt)->label().latin1() );
ContactListViewItem *item = new ContactListViewItem(*it, mListView, addressBook(), fields());
break;
}
}
}
}
// Sometimes the background pixmap gets messed up when we add lots
// of items.