[vlc-devel] [RFC 0/3] qt: playlist: improve drag&drop

Romain Vimont rom1v at videolabs.io
Fri Jul 12 16:20:35 CEST 2019


In the previous cover letter, I said:

> The last patch also propose something to fix #22491:
> <https://trac.videolan.org/vlc/ticket/22491>
> (It is probably not the best solution though, because when some items are
> selected and we try to select one more, if we move by 1 pixel it starts
> dragging and resets the selection.)

Here are some changes so that drag&drop works correctly.

Romain Vimont (3):
  qt: playlist: use existing "pressed" property
  qt: playlist: use the drag object
  qt: playlist: select on drag

 modules/gui/qt/qml/playlist/PLItem.qml        | 25 ++++++++++---------
 .../gui/qt/qml/playlist/PlaylistListView.qml  |  7 ++++++
 2 files changed, 20 insertions(+), 12 deletions(-)

-- 
2.20.1



More information about the vlc-devel mailing list