Add option to sort albums in albums view by either; album-artist, or

artist-album.
This commit is contained in:
craig
2012-02-23 16:54:04 +00:00
committed by craig
parent 68f3db0bf5
commit 74f10be10d
8 changed files with 89 additions and 23 deletions

View File

@@ -48,6 +48,7 @@ void InterfaceSettings::load()
libraryYear->setChecked(Settings::self()->libraryYear());
albumsView->setCurrentIndex(Settings::self()->albumsView());
albumsCoverSize->setCurrentIndex(Settings::self()->albumsCoverSize());
albumFirst->setCurrentIndex(Settings::self()->albumFirst() ? 0 : 1);
folderView->setCurrentIndex(Settings::self()->folderView());
playlistsView->setCurrentIndex(Settings::self()->playlistsView());
streamsView->setCurrentIndex(Settings::self()->streamsView());
@@ -65,6 +66,7 @@ void InterfaceSettings::save()
Settings::self()->saveLibraryYear(libraryYear->isChecked());
Settings::self()->saveAlbumsView(albumsView->currentIndex());
Settings::self()->saveAlbumsCoverSize(albumsCoverSize->currentIndex());
Settings::self()->saveAlbumFirst(0==albumFirst->currentIndex());
Settings::self()->saveFolderView(folderView->currentIndex());
Settings::self()->savePlaylistsView(playlistsView->currentIndex());
Settings::self()->saveStreamsView(streamsView->currentIndex());