mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 23:39:42 +01:00
A little hack to force the second crumb to automatically expand.
This commit is contained in:
parent
d15daf4a85
commit
a6452dbeee
@ -183,6 +183,9 @@ WhatsHotWidget::infoSystemInfo( Tomahawk::InfoSystem::InfoRequestData requestDat
|
||||
KBreadcrumbSelectionModel *selectionModelLeft = new KBreadcrumbSelectionModel(new QItemSelectionModel(m_crumbModelLeft, this), this);
|
||||
ui->breadCrumbLeft->setSelectionModel(selectionModelLeft);
|
||||
ui->breadCrumbRight->setSelectionModel(selectionModelLeft);
|
||||
//HACK ALERT - we want the second crumb to expand right away, so we
|
||||
//force it here. We should find a more elegant want to do this
|
||||
ui->breadCrumbLeft->currentChangedTriggered(m_crumbModelLeft->index(0,0).child(0,0));
|
||||
break;
|
||||
}
|
||||
case InfoSystem::InfoChartArtists:
|
||||
|
Loading…
x
Reference in New Issue
Block a user