summaryrefslogtreecommitdiffstats
path: root/kio/misc/kdesasl/kdesasl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kio/misc/kdesasl/kdesasl.cpp')
-rw-r--r--kio/misc/kdesasl/kdesasl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kio/misc/kdesasl/kdesasl.cpp b/kio/misc/kdesasl/kdesasl.cpp
index e9bc75dc1..b547f7e6b 100644
--- a/kio/misc/kdesasl/kdesasl.cpp
+++ b/kio/misc/kdesasl/kdesasl.cpp
@@ -49,10 +49,10 @@ KDESasl::~KDESasl() {
TQCString KDESasl::chooseMethod(const TQStrIList aMethods)
{
- if (aMethods.tqcontains("DIGEST-MD5")) mMethod = "DIGEST-MD5";
- else if (aMethods.tqcontains("CRAM-MD5")) mMethod = "CRAM-MD5";
- else if (aMethods.tqcontains("PLAIN")) mMethod = "PLAIN";
- else if (aMethods.tqcontains("LOGIN")) mMethod = "LOGIN";
+ if (aMethods.contains("DIGEST-MD5")) mMethod = "DIGEST-MD5";
+ else if (aMethods.contains("CRAM-MD5")) mMethod = "CRAM-MD5";
+ else if (aMethods.contains("PLAIN")) mMethod = "PLAIN";
+ else if (aMethods.contains("LOGIN")) mMethod = "LOGIN";
else mMethod = TQCString();
return mMethod;
}