1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 03:10:12 +02:00

* Align with code in other models.

This commit is contained in:
Christian Muehlhaeuser
2014-08-22 20:01:13 +02:00
parent 85aed2e0fb
commit 437fa2b77b

View File

@@ -333,9 +333,7 @@ PlaylistModel::insertEntries( const QList< Tomahawk::plentry_ptr >& entries, int
emit itemCountChanged( rowCount( QModelIndex() ) ); emit itemCountChanged( rowCount( QModelIndex() ) );
emit selectRequest( index( 0, 0, parent ) ); emit selectRequest( index( 0, 0, parent ) );
if ( parent.isValid() ) if ( parent.isValid() )
{
emit expandRequest( parent ); emit expandRequest( parent );
}
} }