mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26: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:
|
case TrackCountRole:
|
||||||
{
|
{
|
||||||
if ( !pl.dynamicCast< Tomahawk::DynamicPlaylist >().isNull() )
|
if ( !pl.dynamicCast< Tomahawk::DynamicPlaylist >().isNull() && pl.dynamicCast< Tomahawk::DynamicPlaylist >()->mode() == OnDemand )
|
||||||
return QString( QChar( 0x221E ) );
|
return QString( QChar( 0x221E ) );
|
||||||
else
|
else
|
||||||
return pl->entries().count();
|
return pl->entries().count();
|
||||||
|
Reference in New Issue
Block a user