summaryrefslogtreecommitdiffabout
path: root/kabc
Side-by-side diff
Diffstat (limited to 'kabc') (more/less context) (show whitespace changes)
-rw-r--r--kabc/addresseedialog.cpp2
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
@@ -147,7 +147,7 @@ void AddresseeDialog::loadAddressBook()
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