1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 11:20:22 +02:00

* Style fixes in SourcesModel.

This commit is contained in:
Christian Muehlhaeuser
2013-06-13 10:24:31 +02:00
parent e9eb1874e1
commit fc4ab3a262

View File

@@ -711,7 +711,8 @@ SourcesModel::indexFromItem( SourceTreeItem* item ) const
// qDebug() << "build child index list:" << childIndexList;
// now rebuild the qmodelindex we need
QModelIndex idx;
for( int i = childIndexList.size() - 1; i >= 0 ; i-- ) {
for ( int i = childIndexList.size() - 1; i >= 0 ; i-- )
{
idx = index( childIndexList[ i ], 0, idx );
}
// qDebug() << "Got index from item:" << idx << idx.data( Qt::DisplayRole ).toString();