mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Add a signal to tell the outside world when the crumb changed.
This commit is contained in:
@@ -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 )
|
||||
|
@@ -131,6 +131,7 @@ public:
|
||||
|
||||
signals:
|
||||
void rootClicked();
|
||||
void currentIndexChanged(QModelIndex);
|
||||
|
||||
protected:
|
||||
/**
|
||||
|
Reference in New Issue
Block a user