mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-10 16:14:40 +02:00
* Fixed getting list of recently played playlists.
This commit is contained in:
@@ -493,7 +493,7 @@ TomahawkSettings::recentlyPlayedPlaylistGuids( unsigned int amount ) const
|
||||
QStringList p = value( "playlists/recentlyPlayed" ).toStringList();
|
||||
|
||||
while ( amount && p.count() > (int)amount )
|
||||
p.removeAt( p.count() - 1 );
|
||||
p.removeAt( 0 );
|
||||
|
||||
return p;
|
||||
}
|
||||
|
Reference in New Issue
Block a user