summaryrefslogtreecommitdiffstats
path: root/src/kchmsearchengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kchmsearchengine.cpp')
-rw-r--r--src/kchmsearchengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kchmsearchengine.cpp b/src/kchmsearchengine.cpp
index a5f0a11..e9e2a35 100644
--- a/src/kchmsearchengine.cpp
+++ b/src/kchmsearchengine.cpp
@@ -103,7 +103,7 @@ bool KCHMSearchEngine::loadOrGenerateIndex( )
// Process the list keeping only HTML documents there
for ( unsigned int i = 0; i < alldocuments.size(); i++ )
- if ( alldocuments[i].tqendsWith( ".html", false ) || alldocuments[i].tqendsWith( ".htm", false ) )
+ if ( alldocuments[i].endsWith( ".html", false ) || alldocuments[i].endsWith( ".htm", false ) )
documents.push_back( LCHMUrlFactory::makeURLabsoluteIfNeeded( alldocuments[i] ) );
m_Index->setDocList( documents );