[vlc-devel] [PATCH 5/7] qml: show icons as header and centre align text for duration column in MusicAlbumExpandView
Prince Gupta
guptaprince8832 at gmail.com
Tue Jun 9 11:46:31 CEST 2020
---
.../gui/qt/medialibrary/qml/MusicAlbumsGridExpandDelegate.qml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt/medialibrary/qml/MusicAlbumsGridExpandDelegate.qml b/modules/gui/qt/medialibrary/qml/MusicAlbumsGridExpandDelegate.qml
index defc49a6ae..5d1b53a107 100644
--- a/modules/gui/qt/medialibrary/qml/MusicAlbumsGridExpandDelegate.qml
+++ b/modules/gui/qt/medialibrary/qml/MusicAlbumsGridExpandDelegate.qml
@@ -169,7 +169,7 @@ Widgets.NavigableFocusScope {
sortModel: [
{ criteria: "track_number", width: VLCStyle.colWidth(1), visible: true, text: i18n.qtr("#"), showSection: "" },
{ isPrimary: true, criteria: "title", width: VLCStyle.colWidth(Math.max(expand_track_id._nbCols - 2, 1)), visible: true, text: i18n.qtr("Title"), showSection: "" },
- { criteria: "duration", width: VLCStyle.colWidth(1), visible: true, text: i18n.qtr("Duration"), showSection: "" },
+ { criteria: "durationShort", width: VLCStyle.colWidth(1), visible: true, showSection: "", colDelegate: timeColDelegate, headerDelegate: timeHeaderDelegate },
]
navigationParent: root
--
2.25.1
More information about the vlc-devel
mailing list