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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user