mirror of https://code.videolan.org/videolan/vlc
qml: fix context menu not opening in playlist delegate
Regression since d34c08723d
,
and `this` here is not necessary. It is not clear why it has
been used before.
This commit is contained in:
parent
4ef63e2aca
commit
2b68d45d03
|
@ -254,7 +254,7 @@ T.ItemDelegate {
|
|||
}
|
||||
|
||||
if (contextMenu && mouse.button === Qt.RightButton)
|
||||
contextMenu.popup(index, this.mapToGlobal(mouse.x, mouse.y))
|
||||
contextMenu.popup(index, mapToGlobal(mouse.x, mouse.y))
|
||||
}
|
||||
|
||||
onDoubleClicked: (mouse) => {
|
||||
|
|
Loading…
Reference in New Issue