summaryrefslogtreecommitdiffstats
path: root/khelpcenter/htmlsearch/kcmhtmlsearch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'khelpcenter/htmlsearch/kcmhtmlsearch.cpp')
-rw-r--r--khelpcenter/htmlsearch/kcmhtmlsearch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/khelpcenter/htmlsearch/kcmhtmlsearch.cpp b/khelpcenter/htmlsearch/kcmhtmlsearch.cpp
index c2b1cd883..64a301be7 100644
--- a/khelpcenter/htmlsearch/kcmhtmlsearch.cpp
+++ b/khelpcenter/htmlsearch/kcmhtmlsearch.cpp
@@ -189,9 +189,9 @@ void KHTMLSearchConfig::loadLanguages()
TQString name = entry.readEntry(TQString::tqfromLatin1("Name"), KGlobal::locale()->translate("without name"));
TQString path = *it;
- int index = path.tqfindRev('/');
+ int index = path.findRev('/');
path = path.left(index);
- index = path.tqfindRev('/');
+ index = path.findRev('/');
path = path.mid(index+1);
language->insertLanguage(path, name);
}