summaryrefslogtreecommitdiffstats
path: root/src/urlnavigator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/urlnavigator.cpp')
-rw-r--r--src/urlnavigator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/urlnavigator.cpp b/src/urlnavigator.cpp
index 3f01e1b..58de6b0 100644
--- a/src/urlnavigator.cpp
+++ b/src/urlnavigator.cpp
@@ -179,7 +179,7 @@ void URLNavigator::setURL(const KURL& url)
if (urlStr.at(0) == '~') {
- // tqreplace '~' by the home directory
+ // replace '~' by the home directory
urlStr.remove(0, 1);
urlStr.insert(0, TQDir::home().path());
}
@@ -451,8 +451,8 @@ void URLNavigator::updateContent()
// path. E. g. "fish://[email protected]/var/lib" writes
// "fish://[email protected]" to 'bookmarkPath', which leads to the
// navigation indication 'Custom Path > var > lib".
- int idx = path.tqfind(TQString("//"));
- idx = path.tqfind("/", (idx < 0) ? 0 : idx + 2);
+ int idx = path.find(TQString("//"));
+ idx = path.find("/", (idx < 0) ? 0 : idx + 2);
bookmarkPath = (idx < 0) ? path : path.left(idx);
}
else {