mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-28 11:42:42 +01:00
* Fixed getting list of recently played playlists.
This commit is contained in:
parent
659b8fa0d5
commit
08426e2822
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user