From 62b055b7874048f8c3f0b58ce5b2c74ddeb7fab7 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Sat, 23 Aug 2008 16:46:53 +0000 Subject: more qt4 porting (misc + removing qt3 listview) git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2281 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/help/helpwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/help/helpwindow.cpp') 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 ])); } -- cgit v1.3.1-10-gc9f91