Skip to content
Snippets Groups Projects
Commit 8a58e5d3 authored by Benjamin Arnaud's avatar Benjamin Arnaud Committed by Steve Lhomme
Browse files

qt/playlist_controller: Add FILE_SIZE and FILE_MODIFIED to SortKey

parent 4b9955aa
No related branches found
No related tags found
1 merge request!2223qt: Add sorting support for file size / modified
Pipeline #366585 passed with stage
in 28 minutes and 24 seconds
......@@ -66,6 +66,8 @@ public:
SORT_KEY_DISC_NUMBER = VLC_PLAYLIST_SORT_KEY_DISC_NUMBER,
SORT_KEY_URL = VLC_PLAYLIST_SORT_KEY_URL,
SORT_KEY_RATING = VLC_PLAYLIST_SORT_KEY_RATING,
SORT_KEY_FILE_SIZE = VLC_PLAYLIST_SORT_KEY_FILE_SIZE,
SORT_KEY_FILE_MODIFIED = VLC_PLAYLIST_SORT_KEY_FILE_MODIFIED,
SORT_KEY_NONE
};
Q_ENUM(SortKey)
......
......@@ -84,6 +84,8 @@ private:
filler(PlaylistController::SORT_KEY_DISC_NUMBER, qtr( "Disc Number"));
filler(PlaylistController::SORT_KEY_URL, qtr("URL"));
filler(PlaylistController::SORT_KEY_RATING, qtr("Rating"));
filler(PlaylistController::SORT_KEY_FILE_SIZE, qtr("File size"));
filler(PlaylistController::SORT_KEY_FILE_MODIFIED, qtr("File modified"));
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment