[vlc-commits] [Git][videolan/vlc][master] qml: fix invalid object access in Genre view

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Jun 13 10:51:38 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
fbdfc28d by Prince Gupta at 2024-06-13T10:27:27+00:00
qml: fix invalid object access in Genre view

- - - - -


1 changed file:

- modules/gui/qt/medialibrary/qml/MusicGenres.qml


Changes:

=====================================
modules/gui/qt/medialibrary/qml/MusicGenres.qml
=====================================
@@ -146,7 +146,7 @@ MainInterface.MainViewLoader {
                 dragItem: genreDragItem
 
                 onItemDoubleClicked: root.showAlbumView(model.id, model.name, Qt.MouseFocusReason)
-                onItemClicked: (modifier) => { gridView_id.leftClickOnItem(modifier, item.index) }
+                onItemClicked: (modifier) => { gridView_id.leftClickOnItem(modifier, index) }
 
                 onPlayClicked: {
                     if (model.id)



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

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/fbdfc28d3cbb3c53671fe6bcfb3fa1c0da5acd87
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