mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 06:07:37 +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;
|
// qDebug() << "build child index list:" << childIndexList;
|
||||||
// now rebuild the qmodelindex we need
|
// now rebuild the qmodelindex we need
|
||||||
QModelIndex idx;
|
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 );
|
idx = index( childIndexList[ i ], 0, idx );
|
||||||
}
|
}
|
||||||
// qDebug() << "Got index from item:" << idx << idx.data( Qt::DisplayRole ).toString();
|
// qDebug() << "Got index from item:" << idx << idx.data( Qt::DisplayRole ).toString();
|
||||||
|
Reference in New Issue
Block a user