Proper model for streams, and multi-view
This commit is contained in:
@@ -193,6 +193,11 @@ int Settings::playlistsView()
|
||||
return GET_INT("playlistsView", (int)ItemView::Mode_List);
|
||||
}
|
||||
|
||||
int Settings::streamsView()
|
||||
{
|
||||
return GET_INT("streamsView", (int)ItemView::Mode_List);
|
||||
}
|
||||
|
||||
int Settings::libraryCoverSize()
|
||||
{
|
||||
return GET_INT("libraryCoverSize", (int)(MusicLibraryItemAlbum::CoverMedium));
|
||||
@@ -341,6 +346,11 @@ void Settings::savePlaylistsView(int v)
|
||||
SET_VALUE("playlistsView", v);
|
||||
}
|
||||
|
||||
void Settings::saveStreamsView(int v)
|
||||
{
|
||||
SET_VALUE("streamsView", v);
|
||||
}
|
||||
|
||||
void Settings::saveLibraryCoverSize(int v)
|
||||
{
|
||||
SET_VALUE("libraryCoverSize", v);
|
||||
|
||||
Reference in New Issue
Block a user