[vlc-devel] [PATCH 01/26] qml: add cached property in CoverShadow
Prince Gupta
guptaprince8832 at gmail.com
Thu Dec 17 17:25:59 UTC 2020
---
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
}
}
--
2.25.1
More information about the vlc-devel
mailing list