Fix an assert when setting the library grouping to None
This commit is contained in:
parent
ce0e468d75
commit
1453d264dd
|
@ -178,8 +178,7 @@ QString LibraryModel::DividerKey(GroupBy type, LibraryItem* item) const {
|
|||
return SortTextForYear(item->metadata.year());
|
||||
|
||||
case GroupBy_None:
|
||||
// fallthrough
|
||||
;
|
||||
return QString();
|
||||
}
|
||||
Q_ASSERT(0);
|
||||
return QString();
|
||||
|
|
Loading…
Reference in New Issue