[vlc-commits] qml: set mipmap on PlayCover icon if size is small

Prince Gupta git at videolan.org
Thu Dec 17 14:57:24 UTC 2020


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Mon Dec  7 23:37:14 2020 +0530| [d352c0794055c1170f35ec3f5d7a773b3c2aeef4] | committer: Pierre Lamot

qml: set mipmap on PlayCover icon if size is small

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

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

 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



More information about the vlc-commits mailing list