1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-11 09:24:50 +01:00

Merge pull request #6454 from jonaski/albumartist

Change remaining group by defaults to album artist
This commit is contained in:
John Maguire 2019-11-13 23:11:16 +00:00 committed by GitHub
commit 142f9f26c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;