diff options
Diffstat (limited to 'src/modules/help/helpwindow.cpp')
| -rw-r--r-- | src/modules/help/helpwindow.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/help/helpwindow.cpp b/src/modules/help/helpwindow.cpp index 0c5250c42..dfcebeeb1 100644 --- a/src/modules/help/helpwindow.cpp +++ b/src/modules/help/helpwindow.cpp @@ -244,10 +244,9 @@ void KviHelpWindow::showIndexTopic() void KviHelpWindow::searchInIndex( const QString &s ) { - QListWidgetItem *item ;//= m_pIndexListWidget->firstItem(); + QListWidgetItem *item ; QString sl = s.toLower(); for(int i=0;i<m_pIndexListWidget->count();i++) -// while ( i ) { { item=m_pIndexListWidget->item(i); QString t = item->text(); @@ -257,7 +256,6 @@ void KviHelpWindow::searchInIndex( const QString &s ) m_pIndexListWidget->scrollToItem(item,QAbstractItemView::PositionAtTop); break; } - // i = i->next(); } } |
