diff options
Diffstat (limited to 'kio/misc/kdesasl/kdesasl.cpp')
-rw-r--r-- | kio/misc/kdesasl/kdesasl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kio/misc/kdesasl/kdesasl.cpp b/kio/misc/kdesasl/kdesasl.cpp index b547f7e6b..e9bc75dc1 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.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"; + 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"; else mMethod = TQCString(); return mMethod; } |