[vlc-commits] [Git][videolan/vlc][master] qml: fix context menu not opening in playlist delegate

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sat Mar 23 12:26:22 UTC 2024



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
2b68d45d by Fatih Uzunoglu at 2024-03-23T11:52:25+00:00
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.

- - - - -


1 changed file:

- modules/gui/qt/playlist/qml/PlaylistDelegate.qml


Changes:

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



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2b68d45d034a98ef84300d4d728578c8ca18497a

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2b68d45d034a98ef84300d4d728578c8ca18497a
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list