- Allow Icon/List for library view.
- Add option to show artist images in library view. BUG:30
This commit is contained in:
committed by
craig.p.drummond
parent
7c893bba51
commit
04b02b2b82
@@ -360,6 +360,11 @@ int Settings::streamsView()
|
||||
return GET_INT("streamsView", (int)(version()>=CANTATA_MAKE_VERSION(0, 5, 0) ? ItemView::Mode_Tree : ItemView::Mode_List));
|
||||
}
|
||||
|
||||
bool Settings::libraryArtistImage()
|
||||
{
|
||||
return GET_BOOL("libraryArtistImage", false);
|
||||
}
|
||||
|
||||
int Settings::libraryCoverSize()
|
||||
{
|
||||
return GET_INT("libraryCoverSize", (int)(MusicLibraryItemAlbum::CoverMedium));
|
||||
@@ -697,6 +702,11 @@ void Settings::saveStreamsView(int v)
|
||||
SET_VALUE("streamsView", v);
|
||||
}
|
||||
|
||||
void Settings::saveLibraryArtistImage(bool v)
|
||||
{
|
||||
SET_VALUE("libraryArtistImage", v);
|
||||
}
|
||||
|
||||
void Settings::saveLibraryCoverSize(int v)
|
||||
{
|
||||
SET_VALUE("libraryCoverSize", v);
|
||||
|
||||
Reference in New Issue
Block a user