From 2b68d45d034a98ef84300d4d728578c8ca18497a Mon Sep 17 00:00:00 2001 From: Fatih Uzunoglu Date: Mon, 11 Mar 2024 18:48:30 +0200 Subject: [PATCH] qml: fix context menu not opening in playlist delegate Regression since d34c08723d0edc3448704214280d7b8e97e7849b, and `this` here is not necessary. It is not clear why it has been used before. --- modules/gui/qt/playlist/qml/PlaylistDelegate.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gui/qt/playlist/qml/PlaylistDelegate.qml b/modules/gui/qt/playlist/qml/PlaylistDelegate.qml index a9a5db5802..81367483e7 100644 --- a/modules/gui/qt/playlist/qml/PlaylistDelegate.qml +++ b/modules/gui/qt/playlist/qml/PlaylistDelegate.qml @@ -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) => {