1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

Doesnt fix it

This commit is contained in:
Hugo Lindström 2011-10-22 00:11:01 +02:00
parent 8d561b5a56
commit 02713c1661

View File

@ -156,7 +156,7 @@ void SiblingCrumbButton::comboboxActivated(int i)
{
QModelIndex activated = m_index.sibling(i,0);
int count = breadcrumbBar()->model()->rowCount(activated);
if( count >= 0 ) {
if( count > 0 ) {
// qDebug() << "activated crumb with children:" << activated.child(0,0).data().toString();
breadcrumbBar()->currentChangedTriggered(activated.child(0,0));
} else {