aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/help/helpwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/help/helpwindow.cpp')
-rw-r--r--src/modules/help/helpwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/help/helpwindow.cpp b/src/modules/help/helpwindow.cpp
index ceae44f98..a23946bf1 100644
--- a/src/modules/help/helpwindow.cpp
+++ b/src/modules/help/helpwindow.cpp
@@ -270,7 +270,7 @@ void KviHelpWindow::indexSelected ( QListWidgetItem *item )
void KviHelpWindow::searchSelected ( QListWidgetItem *item )
{
if (!item) return;
- int i=g_pDocIndex->titlesList().findIndex(item->text());
+ int i=g_pDocIndex->titlesList().indexOf(item->text());
textBrowser()->setSource(QUrl::fromLocalFile(g_pDocIndex->documentList()[ i ]));
}