Skip to content
Snippets Groups Projects
Commit 2b68d45d authored by Fatih Uzunoğlu's avatar Fatih Uzunoğlu Committed by Jean-Baptiste Kempf
Browse files

qml: fix context menu not opening in playlist delegate

Regression since d34c0872,
and `this` here is not necessary. It is not clear why it has
been used before.
parent 4ef63e2a
No related branches found
No related tags found
1 merge request!5058qml: fix context menu not opening in playlist delegate (regression !4834)
Pipeline #451607 passed with stage
in 15 minutes and 22 seconds
......@@ -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) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment