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:
Fatih Uzunoglu 2024-03-11 18:48:30 +02:00 committed by Jean-Baptiste Kempf
parent 4ef63e2aca
commit 2b68d45d03
1 changed files with 1 additions and 1 deletions

View File

@ -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) => {