[vlc-devel] [PATCH 30/55] qml: remove unneeded function in PlaylistListView

Fatih Uzunoglu fuzun54 at outlook.com
Thu Jan 7 21:36:43 UTC 2021


---
 modules/gui/qt/playlist/qml/PlaylistListView.qml | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/modules/gui/qt/playlist/qml/PlaylistListView.qml b/modules/gui/qt/playlist/qml/PlaylistListView.qml
index ca68b55a20..95f8cda095 100644
--- a/modules/gui/qt/playlist/qml/PlaylistListView.qml
+++ b/modules/gui/qt/playlist/qml/PlaylistListView.qml
@@ -539,13 +539,6 @@ Widgets.NavigableFocusScope {
                         mainPlaylistController.goTo(index, true)
                 }
 
-                function onPlay() {
-                    let selection = root.model.getSelection()
-                    if (selection.length === 0)
-                        return
-                    mainPlaylistController.goTo(selection[0], true)
-                }
-
                 function onDelete() {
                     let selection = root.model.getSelection()
                     if (selection.length === 0)
-- 
2.27.0



More information about the vlc-devel mailing list