[vlc-devel] [PATCH 25/30] qml: set mipmap on PlayCover icon if size is small

Prince Gupta guptaprince8832 at gmail.com
Mon Dec 14 14:28:03 CET 2020


---
 modules/gui/qt/widgets/qml/PlayCover.qml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/qt/widgets/qml/PlayCover.qml b/modules/gui/qt/widgets/qml/PlayCover.qml
index 68fcf68515..cac6e1e8aa 100644
--- a/modules/gui/qt/widgets/qml/PlayCover.qml
+++ b/modules/gui/qt/widgets/qml/PlayCover.qml
@@ -44,6 +44,7 @@ Rectangle {
         fillMode: Image.PreserveAspectFit
         source: "qrc:/play_button.svg"
         visible: !root.onlyBorders
+        mipmap: width < VLCStyle.icon_normal
 
         MouseArea {
             anchors.fill: parent
-- 
2.25.1



More information about the vlc-devel mailing list