Allow streams to have multiple genres.
This commit is contained in:
committed by
craig.p.drummond
parent
c41c308f44
commit
aa3a1326e8
@@ -63,7 +63,7 @@ bool StreamsProxyModel::filterAcceptsRow(int sourceRow, const QModelIndex &sourc
|
||||
} else {
|
||||
StreamsModel::StreamItem *s = static_cast<StreamsModel::StreamItem *>(item);
|
||||
|
||||
if (!filterGenre.isEmpty() && s->genre!=filterGenre) {
|
||||
if (!filterGenre.isEmpty() && !s->genres.contains(filterGenre)) {
|
||||
return false;
|
||||
}
|
||||
return matchesFilter(QStringList() << s->name);
|
||||
|
||||
Reference in New Issue
Block a user