mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
only show infinity icon for stations, not auto playlists
This commit is contained in:
@@ -131,7 +131,7 @@ WelcomePlaylistModel::data( const QModelIndex& index, int role ) const
|
||||
}
|
||||
case TrackCountRole:
|
||||
{
|
||||
if ( !pl.dynamicCast< Tomahawk::DynamicPlaylist >().isNull() )
|
||||
if ( !pl.dynamicCast< Tomahawk::DynamicPlaylist >().isNull() && pl.dynamicCast< Tomahawk::DynamicPlaylist >()->mode() == OnDemand )
|
||||
return QString( QChar( 0x221E ) );
|
||||
else
|
||||
return pl->entries().count();
|
||||
|
Reference in New Issue
Block a user