[vlc-devel] [PATCH 36/55] qml: remove item separators in PlaylistListView
    Fatih Uzunoglu 
    fuzun54 at outlook.com
       
    Thu Jan  7 21:36:49 UTC 2021
    
    
  
---
 .../gui/qt/playlist/qml/PlaylistListView.qml  | 24 -------------------
 1 file changed, 24 deletions(-)
diff --git a/modules/gui/qt/playlist/qml/PlaylistListView.qml b/modules/gui/qt/playlist/qml/PlaylistListView.qml
index 9ab6eb3dd4..f7983b41d2 100644
--- a/modules/gui/qt/playlist/qml/PlaylistListView.qml
+++ b/modules/gui/qt/playlist/qml/PlaylistListView.qml
@@ -377,19 +377,6 @@ Widgets.NavigableFocusScope {
                     implicitWidth: delegate.width
                     implicitHeight: childrenRect.height
 
-                    Loader {
-                        anchors.top: delegate.top
-
-                        active: (index === 0) // load only for the first element to prevent overlapping
-                        width: parent.width
-                        height: 1
-                        z: (model.selected || delegate.hovered || delegate.activeFocus) ? 2 : 1
-                        sourceComponent: Rectangle {
-                            color: colors.playlistSeparator
-                            opacity: colors.isThemeDark ? 0.05 : 1.0
-                        }
-                    }
-
                     PlaylistDelegate {
                         /*
                          * implicit variables:
@@ -463,17 +450,6 @@ Widgets.NavigableFocusScope {
                             }
                         }
                     }
-
-                    Rectangle {
-                        id: bottomSeparator
-                        anchors.top: delegate.bottom
-
-                        width: parent.width
-                        height: 1
-                        z: 2
-                        color: colors.playlistSeparator
-                        opacity: colors.isThemeDark ? 0.05 : 1.0
-                    }
                 }
 
                 add: Transition {
-- 
2.27.0
    
    
More information about the vlc-devel
mailing list