summaryrefslogtreecommitdiffstats
path: root/src/helpers/ktranslateurl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/ktranslateurl.cpp')
-rw-r--r--src/helpers/ktranslateurl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/ktranslateurl.cpp b/src/helpers/ktranslateurl.cpp
index 41f9af7..004eeb2 100644
--- a/src/helpers/ktranslateurl.cpp
+++ b/src/helpers/ktranslateurl.cpp
@@ -66,7 +66,7 @@ KURL KTranslateUrl::translateSystemUrl(const KURL&_url)
bool KTranslateUrl::parseURL(const KURL&url,TQString&name,TQString&path)
{
TQString url_path = url.path();
- int i = url_path.tqfind('/', 1);
+ int i = url_path.find('/', 1);
if (i > 0)
{
name = url_path.mid(1, i-1);