mirror of
https://github.com/clementine-player/Clementine
synced 2025-02-01 20:06:53 +01:00
Fix an assert when the library is grouped by file type
This commit is contained in:
parent
1f2b69c6bc
commit
51b5e7d607
@ -101,7 +101,7 @@ void LibraryModel::SongsDiscovered(const SongList& songs) {
|
||||
key = QString::number(qMax(0, song.year())); break;
|
||||
case GroupBy_YearAlbum:
|
||||
key = PrettyYearAlbum(qMax(0, song.year()), song.album()); break;
|
||||
case GroupBy_FileType: key = song.filetype();
|
||||
case GroupBy_FileType: key = song.filetype(); break;
|
||||
case GroupBy_None: Q_ASSERT(0); break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user