Add sort columns to playlists
Increment playlist state version from 1 to 2 to get sort columns next to their "original" column. Discard old stored playlist state in config file.
This commit is contained in:
@@ -101,11 +101,17 @@ class Playlist : public QAbstractListModel {
|
||||
// Always add new columns to the end of this enum - the values are persisted
|
||||
enum class Column {
|
||||
Title = 0,
|
||||
TitleSort,
|
||||
Artist,
|
||||
ArtistSort,
|
||||
Album,
|
||||
AlbumSort,
|
||||
AlbumArtist,
|
||||
AlbumArtistSort,
|
||||
Performer,
|
||||
PerformerSort,
|
||||
Composer,
|
||||
ComposerSort,
|
||||
Year,
|
||||
OriginalYear,
|
||||
Track,
|
||||
|
||||
Reference in New Issue
Block a user