[vlc-commits] [Git][videolan/vlc][master] qt/playlist_controller: Add FILE_SIZE and FILE_MODIFIED to SortKey

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon Jul 24 06:36:38 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
8a58e5d3 by Benjamin Arnaud at 2023-07-24T06:16:17+00:00
qt/playlist_controller: Add FILE_SIZE and FILE_MODIFIED to SortKey

- - - - -


2 changed files:

- modules/gui/qt/playlist/playlist_controller.hpp
- modules/gui/qt/playlist/playlist_controller_p.hpp


Changes:

=====================================
modules/gui/qt/playlist/playlist_controller.hpp
=====================================
@@ -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)


=====================================
modules/gui/qt/playlist/playlist_controller_p.hpp
=====================================
@@ -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"));
     }
 };
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8a58e5d38acef365dd5194aa20296cfbb0819a47

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8a58e5d38acef365dd5194aa20296cfbb0819a47
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list