diff options
| author | Nathaniel Graham <[email protected]> | 2017-09-13 10:35:18 +0500 |
|---|---|---|
| committer | Alexey Min <[email protected]> | 2017-09-13 10:45:12 +0500 |
| commit | d1b68db1a348f22eb8f6b6ffaae5097820385e83 (patch) | |
| tree | 996a0375d08c0ef0dcfda8c4297b13c6d13a0094 /src/kitemviews/kfileitemmodel.cpp | |
| parent | 64973a29979bc3201df5517a0db7e6ebdb2e5505 (diff) | |
Add "Release Year" column to Dolphin's Details view
Summary:
Adds a "Release Year" column to Dolphin's Details view.
BUG: 384317
Test Plan: Tested in a KDE Neon VM.
Reviewers: aacid, broulik, #kde_applications, #dolphin, alexeymin, emmanuelp
Reviewed By: #dolphin, alexeymin, emmanuelp
Differential Revision: https://phabricator.kde.org/D7776
Diffstat (limited to 'src/kitemviews/kfileitemmodel.cpp')
| -rw-r--r-- | src/kitemviews/kfileitemmodel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kitemviews/kfileitemmodel.cpp b/src/kitemviews/kfileitemmodel.cpp index 6ca9fce6c..86b010f62 100644 --- a/src/kitemviews/kfileitemmodel.cpp +++ b/src/kitemviews/kfileitemmodel.cpp @@ -2315,6 +2315,7 @@ const KFileItemModel::RoleInfoMap* KFileItemModel::rolesInfoMap(int& count) { "album", AlbumRole, I18N_NOOP2_NOSTRIP("@label", "Album"), I18N_NOOP2_NOSTRIP("@label", "Audio"), true, true }, { "duration", DurationRole, I18N_NOOP2_NOSTRIP("@label", "Duration"), I18N_NOOP2_NOSTRIP("@label", "Audio"), true, true }, { "track", TrackRole, I18N_NOOP2_NOSTRIP("@label", "Track"), I18N_NOOP2_NOSTRIP("@label", "Audio"), true, true }, + { "releaseYear", ReleaseYearRole, I18N_NOOP2_NOSTRIP("@label", "Release Year"), I18N_NOOP2_NOSTRIP("@label", "Audio"), true, true }, { "path", PathRole, I18N_NOOP2_NOSTRIP("@label", "Path"), I18N_NOOP2_NOSTRIP("@label", "Other"), false, false }, { "deletiontime",DeletionTimeRole,I18N_NOOP2_NOSTRIP("@label", "Deletion Time"), I18N_NOOP2_NOSTRIP("@label", "Other"), false, false }, { "destination", DestinationRole, I18N_NOOP2_NOSTRIP("@label", "Link Destination"), I18N_NOOP2_NOSTRIP("@label", "Other"), false, false }, |
