-rw-r--r-- | kabc/addresseedialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kabc/addresseedialog.cpp b/kabc/addresseedialog.cpp index cb6c12f..eb9bfc9 100644 --- a/kabc/addresseedialog.cpp +++ b/kabc/addresseedialog.cpp @@ -146,9 +146,9 @@ void AddresseeDialog::loadAddressBook() if ( name.length() == 2 ) name = (*it).realName(); name += (*it).preferredEmail(); #if QT_VERSION >= 300 - if (re.search(name)) != -1) + if (re.search(name) != -1) #else if (re.match(name) != -1) #endif AddresseeItem *item = new AddresseeItem( mAddresseeList, (*it) ); |