qt: playlist: make PlaylistListModel selectable
commit92936190888b62fd82132a49fcf53dc5a5f38a9e
authorRomain Vimont <rom1v@videolabs.io>
Tue, 9 Jul 2019 16:30:27 +0000 (9 18:30 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 16 Jul 2019 12:03:46 +0000 (16 14:03 +0200)
treeadb35cfb81273e33b1a27e06fd5ad678fcf8cc72
parent9611235e4dbf9e10f557f01028898bff991ec9c6
qt: playlist: make PlaylistListModel selectable

Make it inherit SelectableListModel, and implement required functions.
The actual selection state is stored in the playlist items themselves.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt/components/playlist/playlist_item.cpp
modules/gui/qt/components/playlist/playlist_item.hpp
modules/gui/qt/components/playlist/playlist_model.cpp
modules/gui/qt/components/playlist/playlist_model.hpp