1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 00:09:47 +01:00

Add a signal to tell the outside world when the crumb changed.

This commit is contained in:
Casey Link 2011-09-04 22:33:20 -05:00
parent f32320fd67
commit 8f326ee41b
2 changed files with 2 additions and 0 deletions

View File

@ -308,6 +308,7 @@ void BreadcrumbBar::currentChangedTriggered(QModelIndex const& index)
{
Q_ASSERT(m_selectionModel);
m_selectionModel->setCurrentIndex( index, QItemSelectionModel::SelectCurrent);
emit currentIndexChanged(index);
}
void BreadcrumbBar::resizeEvent ( QResizeEvent * event )

View File

@ -131,6 +131,7 @@ public:
signals:
void rootClicked();
void currentIndexChanged(QModelIndex);
protected:
/**