summaryrefslogtreecommitdiffstats
path: root/kioslave/smb/kio_smb_auth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kioslave/smb/kio_smb_auth.cpp')
-rw-r--r--kioslave/smb/kio_smb_auth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kioslave/smb/kio_smb_auth.cpp b/kioslave/smb/kio_smb_auth.cpp
index 12b8a1366..1d2ff05e4 100644
--- a/kioslave/smb/kio_smb_auth.cpp
+++ b/kioslave/smb/kio_smb_auth.cpp
@@ -118,7 +118,7 @@ bool SMBSlave::checkPassword(SMBUrl &url)
info.url.setHost(url.host());
TQString share = url.path();
- int index = share.tqfind('/', 1);
+ int index = share.find('/', 1);
if (index > 1)
share = share.left(index);
if (share.tqat(0) == '/')