[vlc-commits] qml: remove item separators in PlaylistListView

Fatih Uzunoglu git at videolan.org
Tue Jan 12 13:20:47 UTC 2021


vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Fri Jan  8 00:36:49 2021 +0300| [ecea14a07bca4e368c976ae96a539243a432036a] | committer: Pierre Lamot

qml: remove item separators in PlaylistListView

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

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

 modules/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 {



More information about the vlc-commits mailing list