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 d82301e94..12b8a1366 100644
--- a/kioslave/smb/kio_smb_auth.cpp
+++ b/kioslave/smb/kio_smb_auth.cpp
@@ -121,7 +121,7 @@ bool SMBSlave::checkPassword(SMBUrl &url)
int index = share.tqfind('/', 1);
if (index > 1)
share = share.left(index);
- if (share.at(0) == '/')
+ if (share.tqat(0) == '/')
share = share.mid(1);
info.url.setPath("/" + share);
info.verifyPath = true;