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:
parent
f32320fd67
commit
8f326ee41b
@ -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:
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user