Change remaining group by defaults to album artist

This commit is contained in:
Jonas Kvinge 2019-11-13 20:20:44 +01:00
parent 21848d62d8
commit cdfc059cb1
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ GlobalSearchModel::GlobalSearchModel(GlobalSearch* engine, QObject* parent)
use_pretty_covers_(true),
artist_icon_(IconLoader::Load("x-clementine-artist", IconLoader::Base)),
album_icon_(IconLoader::Load("x-clementine-album", IconLoader::Base)) {
group_by_[0] = LibraryModel::GroupBy_Artist;
group_by_[0] = LibraryModel::GroupBy_AlbumArtist;
group_by_[1] = LibraryModel::GroupBy_Album;
group_by_[2] = LibraryModel::GroupBy_None;

View File

@ -93,7 +93,7 @@ LibraryModel::LibraryModel(LibraryBackend* backend, Application* app,
show_dividers_(true) {
root_->lazy_loaded = true;
group_by_[0] = GroupBy_Artist;
group_by_[0] = GroupBy_AlbumArtist;
group_by_[1] = GroupBy_Album;
group_by_[2] = GroupBy_None;