[vlc-commits] qml: add cached property in CoverShadow

Prince Gupta git at videolan.org
Mon Jan 4 13:37:31 UTC 2021


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Thu Dec 17 22:50:52 2020 +0530| [8bc73fb38d4e47cbb93ab5abc06f904b23a72694] | committer: Pierre Lamot

qml: add cached property in CoverShadow

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

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

 modules/gui/qt/widgets/qml/CoverShadow.qml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/gui/qt/widgets/qml/CoverShadow.qml b/modules/gui/qt/widgets/qml/CoverShadow.qml
index ab540a312c..bd47ae2de2 100644
--- a/modules/gui/qt/widgets/qml/CoverShadow.qml
+++ b/modules/gui/qt/widgets/qml/CoverShadow.qml
@@ -24,6 +24,7 @@ import "qrc:///style/"
 Item {
     id: root
 
+    property alias cached: primaryShadow.cached
     property alias source: primaryShadow.source
     property alias primaryVerticalOffset: primaryShadow.verticalOffset
     property alias primaryRadius: primaryShadow.radius
@@ -51,5 +52,6 @@ Item {
         spread: 0
         color: Qt.rgba(0, 0, 0, .18)
         samples: 1 + radius * 2
+        cached: root.cached
     }
 }



More information about the vlc-commits mailing list