mirror of https://code.videolan.org/videolan/vlc
qml: expand playlist button drag&drop functionality to playlist window
This commit is contained in:
parent
b425a305a9
commit
0a0bfaa34c
|
@ -184,7 +184,9 @@ FocusScope {
|
|||
|
||||
model: g_mainDisplay.tabModel
|
||||
|
||||
plListView: playlistLoader.item
|
||||
plListView: playlistLoader.active ? playlistLoader.item
|
||||
: (playlistWindowLoader.status === Loader.Ready ? playlistWindowLoader.item.playlistView
|
||||
: null)
|
||||
|
||||
onItemClicked: (index) => {
|
||||
const name = g_mainDisplay.tabModel.get(index).name
|
||||
|
|
|
@ -30,6 +30,8 @@ Window {
|
|||
// TODO: Qt >5.13 use transientParent
|
||||
property QtWindow parentWindow
|
||||
|
||||
property alias playlistView: playlistView
|
||||
|
||||
width: 350
|
||||
minimumWidth: playlistView.minimumWidth
|
||||
|
||||
|
|
Loading…
Reference in New Issue