summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/cryptography/kgpgselkey.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/plugins/cryptography/kgpgselkey.cpp')
-rw-r--r--kopete/plugins/cryptography/kgpgselkey.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kopete/plugins/cryptography/kgpgselkey.cpp b/kopete/plugins/cryptography/kgpgselkey.cpp
index 1f3d5a39..f4d4072f 100644
--- a/kopete/plugins/cryptography/kgpgselkey.cpp
+++ b/kopete/plugins/cryptography/kgpgselkey.cpp
@@ -170,13 +170,13 @@ KgpgSelKey::KgpgSelKey(TQWidget *tqparent, const char *name,bool showlocal):KDia
TQString KgpgSelKey::extractKeyName(TQString fullName)
{
TQString kMail;
- if (fullName.tqfind("<")!=-1)
+ if (fullName.find("<")!=-1)
{
kMail=fullName.section('<',-1,-1);
kMail.truncate(kMail.length()-1);
}
TQString kName=fullName.section('<',0,0);
- if (kName.tqfind("(")!=-1) kName=kName.section('(',0,0);
+ if (kName.find("(")!=-1) kName=kName.section('(',0,0);
return TQString(kMail+" ("+kName+")").stripWhiteSpace();
}