aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/help/helpwindow.cpp
diff options
context:
space:
mode:
authorGravatar Fabio Bas2008-08-23 16:46:53 +0000
committerGravatar Fabio Bas2008-08-23 16:46:53 +0000
commit62b055b7874048f8c3f0b58ce5b2c74ddeb7fab7 (patch)
tree7f90ec82a2866471af6033da940b8b1ea196877d /src/modules/help/helpwindow.cpp
parentSelf-celebration (diff)
downloadKVIrc-62b055b7874048f8c3f0b58ce5b2c74ddeb7fab7.tar.gz
KVIrc-62b055b7874048f8c3f0b58ce5b2c74ddeb7fab7.tar.bz2
KVIrc-62b055b7874048f8c3f0b58ce5b2c74ddeb7fab7.zip
more qt4 porting (misc + removing qt3 listview)
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2281 17fca916-40b9-46aa-a4ea-0a15b648b75c
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 ]));
}