[vlc-commits] qml: fix left click in Music Genre's grid view

Prince Gupta git at videolan.org
Mon Oct 12 11:45:14 CEST 2020


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Fri Oct  9 19:38:30 2020 +0530| [664045fb5e547a88d04f381dce20bf8ef5af10d3] | committer: Pierre Lamot

qml: fix left click in Music Genre's grid view

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=664045fb5e547a88d04f381dce20bf8ef5af10d3
---

 modules/gui/qt/medialibrary/qml/MusicGenres.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/medialibrary/qml/MusicGenres.qml b/modules/gui/qt/medialibrary/qml/MusicGenres.qml
index b08c670a64..1482d46b88 100644
--- a/modules/gui/qt/medialibrary/qml/MusicGenres.qml
+++ b/modules/gui/qt/medialibrary/qml/MusicGenres.qml
@@ -146,7 +146,7 @@ Widgets.NavigableFocusScope {
                 playCoverBorder.width: VLCStyle.dp(3, VLCStyle.scale)
 
                 onItemDoubleClicked: root.showAlbumView(model)
-                onItemClicked: gridView_id.leftClickOnItem(index)
+                onItemClicked: gridView_id.leftClickOnItem(modifier, item.index)
 
                 onPlayClicked: {
                     if (model.id)



More information about the vlc-commits mailing list