[vlc-commits] qml: use default colDelegate in MusicTrackListDisplay

Prince Gupta git at videolan.org
Fri Jun 19 09:54:09 CEST 2020


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Thu Jun  4 23:27:00 2020 +0530| [f7936adf079137d9ddd0feced75a01ff818bd94f] | committer: Pierre Lamot

qml: use default colDelegate in MusicTrackListDisplay

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f7936adf079137d9ddd0feced75a01ff818bd94f
---

 .../qt/medialibrary/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 11b5831207..06d190e7e7 100644
--- a/modules/gui/qt/medialibrary/qml/MusicTrackListDisplay.qml
+++ b/modules/gui/qt/medialibrary/qml/MusicTrackListDisplay.qml
@@ -123,30 +123,6 @@ 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 ))
 
     Widgets.TableColumns {



More information about the vlc-commits mailing list