[vlc-commits] [Git][videolan/vlc][master] qml/PlaylistListView: Add 'getSelectedInputItem' to DragItem

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sun Feb 26 14:20:18 UTC 2023



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
64abdfc0 by Benjamin Arnaud at 2023-02-26T13:55:55+00:00
qml/PlaylistListView: Add 'getSelectedInputItem' to DragItem

This effectively fixes drag and drop from the playqueue to a playlist.

- - - - -


1 changed file:

- modules/gui/qt/playlist/qml/PlaylistListView.qml


Changes:

=====================================
modules/gui/qt/playlist/qml/PlaylistListView.qml
=====================================
@@ -169,6 +169,10 @@ Control {
                 }
             }))
         }
+
+        function getSelectedInputItem(cb) {
+            cb(root.model.getItemsForIndexes(root.model.getSelection()))
+        }
     }
 
     PlaylistContextMenu {



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/64abdfc00d9986f5ab447b61f8a15c6ca96b519e

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/64abdfc00d9986f5ab447b61f8a15c6ca96b519e
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list