1
0
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:
David Sansome 2010-07-31 16:13:50 +00:00
parent 1f2b69c6bc
commit 51b5e7d607

View File

@ -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;
}