[vlc-commits] [Git][videolan/vlc][master] qml: fix invalid access in DrawerExt

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Jul 20 13:32:37 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
ed721fee by Prince Gupta at 2024-07-20T13:15:24+00:00
qml: fix invalid access in DrawerExt

- - - - -


1 changed file:

- modules/gui/qt/dialogs/dialogs/qml/Dialogs.qml


Changes:

=====================================
modules/gui/qt/dialogs/dialogs/qml/Dialogs.qml
=====================================
@@ -164,8 +164,8 @@ Item {
         }
 
         edge: Widgets.DrawerExt.Edges.Bottom
-        width: contentItem.layoutWidth
-        height: contentItem.height
+        width: contentItem?.layoutWidth ?? 0
+        height: contentItem?.height ?? 0
         z: 10
 
         ColorContext {



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ed721fee55c0184c7e730faf308fc90d8b7df705
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