CVS commit by firebaugh: Connect to executed() rather than highlighted(). M +4 -4 grepviewwidget.cpp 1.13 M +1 -1 grepviewwidget.h 1.2 --- kdevelop/parts/grepview/grepviewwidget.cpp #1.12:1.13 @@ -91,6 +91,6 @@ GrepViewWidget::GrepViewWidget(GrepViewP connect( grepdlg, SIGNAL(searchClicked()), this, SLOT(searchActivated()) ); - connect( this, SIGNAL(highlighted(int)), - this, SLOT(lineHighlighted(int)) ); + connect( this, SIGNAL(executed(QListBoxItem*)), + this, SLOT(slotExecuted(QListBoxItem*)) ); m_part = part; @@ -195,7 +195,7 @@ void GrepViewWidget::childFinished(bool -void GrepViewWidget::lineHighlighted(int line) +void GrepViewWidget::slotExecuted(QListBoxItem* item) { - ProcessListBoxItem *i = static_cast(item(line)); + ProcessListBoxItem *i = static_cast(item); if (i->isCustomItem()) { --- kdevelop/parts/grepview/grepviewwidget.h #1.1.1.1:1.2 @@ -36,5 +36,5 @@ public slots: private slots: void searchActivated(); - void lineHighlighted(int line); + void slotExecuted(QListBoxItem *item); private: