1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-23 07:50:13 +01:00

Also filter on artist name on Cover manager (instead of only album name)

This commit is contained in:
Arnaud Bienner 2010-12-16 23:38:27 +00:00
parent 256d46624c
commit 6ecc69d18b

View File

@ -339,7 +339,8 @@ bool AlbumCoverManager::ShouldHide(
QStringList query = filter.split(' ');
foreach (const QString& s, query) {
if (!item.text().contains(s, Qt::CaseInsensitive)) {
if (!item.text().contains(s, Qt::CaseInsensitive)
&& !item.data(Role_ArtistName).toString().contains(s, Qt::CaseInsensitive)) {
return true;
}
}