Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
45692d49 by Fatih Uzunoglu at 2025-11-05T13:28:11+00:00
qml: fix "Unable to assign [undefined] to bool" in `ArtistTopBanner.qml`

Regression since fdcb6f07.

Co-authored-by: Pierre Lamot <[email protected]>

- - - - -


2 changed files:

- modules/gui/qt/medialibrary/qml/ArtistTopBanner.qml
- modules/gui/qt/medialibrary/qml/MusicArtist.qml


Changes:

=====================================
modules/gui/qt/medialibrary/qml/ArtistTopBanner.qml
=====================================
@@ -33,7 +33,7 @@ FocusScope {
 
     property int rightPadding: 0
 
-    property var artist: ({})
+    required property var artist
 
     implicitHeight: VLCStyle.artistBanner_height
 


=====================================
modules/gui/qt/medialibrary/qml/MusicArtist.qml
=====================================
@@ -68,7 +68,9 @@ FocusScope {
 
     property alias _currentView: loader.item
 
-    property var _artist: ({})
+    property var _artist: ({
+        id: 0
+    })
 
     function navigationShowHeader(y, height) {
         const newContentY = Helpers.flickablePositionContaining(_currentView, 
y, height, 0, 0)



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

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


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to