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

@@ -69,6 +69,7 @@ class AlbumCoverFetcherSearch : public QObject {
void TerminateSearch();
private:
static bool CoverSearchResultCompareScore(const CoverSearchResult &a, const CoverSearchResult &b);
void AllProvidersFinished();
void FetchMoreImages();