author | zautrix <zautrix> | 2005-01-27 14:46:38 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-27 14:46:38 (UTC) |
commit | 3a6e3862e0b813965f633a51e9a116e5f8f26b23 (patch) (side-by-side diff) | |
tree | ea53a2b248257a2a50aee4f6df98749b13401df1 /kaddressbook/views/kaddressbooktableview.cpp | |
parent | cd1b9287f2bcd59652ef66186d00dcf5ff8a2a46 (diff) | |
download | kdepimpi-3a6e3862e0b813965f633a51e9a116e5f8f26b23.zip kdepimpi-3a6e3862e0b813965f633a51e9a116e5f8f26b23.tar.gz kdepimpi-3a6e3862e0b813965f633a51e9a116e5f8f26b23.tar.bz2 |
fix
Diffstat (limited to 'kaddressbook/views/kaddressbooktableview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kaddressbook/views/kaddressbooktableview.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/kaddressbook/views/kaddressbooktableview.cpp b/kaddressbook/views/kaddressbooktableview.cpp index b73ceaa..f4b008c 100644 --- a/kaddressbook/views/kaddressbooktableview.cpp +++ b/kaddressbook/views/kaddressbooktableview.cpp @@ -143,11 +143,7 @@ void KAddressBookTableView::doSearch( const QString& s, KABC::Field *field ) refresh(); return; } - QString pattern = s.lower()+"*"; - QRegExp re; - re.setWildcard(true); // most people understand these better. - re.setCaseSensitive(false); - re.setPattern( pattern ); + QRegExp re = getRegExp( s ); if (!re.isValid()) return; KABC::Addressee::List addresseeList = addressees(); |