[vlc-devel] [PATCH 6/7] qml: use default colDelegate in MusicTrackListDisplay
Prince Gupta
guptaprince8832 at gmail.com
Tue Jun 9 11:46:32 CEST 2020
---
.../qml/MusicTrackListDisplay.qml | 24 -------------------
1 file changed, 24 deletions(-)
diff --git a/modules/gui/qt/medialibrary/qml/MusicTrackListDisplay.qml b/modules/gui/qt/medialibrary/qml/MusicTrackListDisplay.qml
index d3f973df54..13c057e914 100644
--- a/modules/gui/qt/medialibrary/qml/MusicTrackListDisplay.qml
+++ b/modules/gui/qt/medialibrary/qml/MusicTrackListDisplay.qml
@@ -123,29 +123,5 @@ Widgets.KeyNavigableTableView {
property alias parentId: rootmodel.parentId
- colDelegate: Item {
- anchors.fill: parent
-
- property var rowModel: parent.rowModel
- property var model: parent.colModel
-
- Text {
- anchors.fill:parent
-
- text: !rowModel ? "" : (rowModel[model.criteria] || "")
- elide: Text.ElideRight
- font.pixelSize: VLCStyle.fontSize_normal
- color: (model.isPrimary)? VLCStyle.colors.text : VLCStyle.colors.textDisabled
-
- anchors {
- fill: parent
- leftMargin: VLCStyle.margin_xsmall
- rightMargin: VLCStyle.margin_xsmall
- }
- verticalAlignment: Text.AlignVCenter
- horizontalAlignment: Text.AlignLeft
- }
- }
-
onActionForSelection: medialib.addAndPlay(model.getIdsForIndexes( selection ))
}
--
2.25.1
More information about the vlc-devel
mailing list