diff options
Diffstat (limited to 'krdc/krdc.cpp')
-rw-r--r-- | krdc/krdc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/krdc/krdc.cpp b/krdc/krdc.cpp index 5719ad65..e6384ccd 100644 --- a/krdc/krdc.cpp +++ b/krdc/krdc.cpp @@ -303,9 +303,9 @@ bool KRDC::parseHost(TQString &str, Protocol &prot, TQString &serverHost, int &s if(s.startsWith("smb:/")>0) { //we know it's more likely to be windows.. s = "rdp:/" + s.section("smb:/", 1); prot = PROTOCOL_RDP; - } else if(s.tqcontains("://") > 0) { + } else if(s.contains("://") > 0) { s = s.section("://",1); - } else if(s.tqcontains(":/") > 0) { + } else if(s.contains(":/") > 0) { s = s.section(":/", 1); } } |