summaryrefslogtreecommitdiffstats
path: root/libkdepim/addresseeemailselection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/addresseeemailselection.cpp')
-rw-r--r--libkdepim/addresseeemailselection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkdepim/addresseeemailselection.cpp b/libkdepim/addresseeemailselection.cpp
index 589e7e334..d0862fa27 100644
--- a/libkdepim/addresseeemailselection.cpp
+++ b/libkdepim/addresseeemailselection.cpp
@@ -150,7 +150,7 @@ bool AddresseeEmailSelection::itemMatches( const KABC::Addressee &addressee, uin
bool AddresseeEmailSelection::itemEquals( const KABC::Addressee &addressee, uint index, const TQString &pattern ) const
{
return (pattern == addressee.formattedName() + " " + email( addressee, index )) ||
- (addressee.emails().tqcontains( pattern ));
+ (addressee.emails().contains( pattern ));
}
TQString AddresseeEmailSelection::distributionListText( const KABC::DistributionList *distributionList ) const