[vlc-commits] qml: remove unneeded function in PlaylistListView

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


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

qml: remove unneeded function in PlaylistListView

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

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

 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)



More information about the vlc-commits mailing list