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:
Mark
2025-07-26 12:44:20 +02:00
committed by Jonas Kvinge
parent e7fc4b1706
commit 0bfc2ee198
5 changed files with 111 additions and 19 deletions

View File

@@ -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,