Sort album cover search results by score and pick the first 3

This commit is contained in:
Jonas Kvinge
2020-04-25 00:03:43 +02:00
parent ea4dc6f040
commit bc16a6c4cb
4 changed files with 25 additions and 25 deletions

View File

@@ -943,4 +943,3 @@ QImage AlbumCoverManager::GenerateNoCoverImage(const QIcon &no_cover_icon) const
bool AlbumCoverManager::ItemHasCover(const QListWidgetItem &item) const {
return item.icon().cacheKey() != no_cover_item_icon_.cacheKey();
}