mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 16:29:43 +01:00
only show infinity icon for stations, not auto playlists
This commit is contained in:
parent
c99fff2b16
commit
a9c0d5f820
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user