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 1d2ff05e4..d4a48239f 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.find('/', 1);
if (index > 1)
share = share.left(index);
- if (share.tqat(0) == '/')
+ if (share.at(0) == '/')
share = share.mid(1);
info.url.setPath("/" + share);
info.verifyPath = true;