summaryrefslogtreecommitdiffstats
path: root/korganizer/komailclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/komailclient.cpp')
-rw-r--r--korganizer/komailclient.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/korganizer/komailclient.cpp b/korganizer/komailclient.cpp
index 423225977..b664e68f3 100644
--- a/korganizer/komailclient.cpp
+++ b/korganizer/komailclient.cpp
@@ -253,10 +253,10 @@ bool KOMailClient::send(const TQString &from,const TQString &_to,const TQString
if (!kMailOpenComposer(to,cc,bcc ? from : "",subject,body,0,KURL())) return false;
} else {
TQString meth;
- int idx = attachment.tqfind("METHOD");
+ int idx = attachment.find("METHOD");
if (idx>=0) {
- idx = attachment.tqfind(':',idx)+1;
- const int newline = attachment.tqfind('\n',idx);
+ idx = attachment.find(':',idx)+1;
+ const int newline = attachment.find('\n',idx);
meth = attachment.mid(idx, newline - idx - 1);
meth = meth.lower().stripWhiteSpace();
} else {