Fix the pixelated notification icon by setting sourceSize (LP: #1637712)
Approved by: Michael Zanetti, Unity8 CI Bot
commit75a01c01a7650893cd1975f2a7b82e288116edc1
authorLukáš Tinkl <lukas.tinkl@canonical.com>
dateWed 9 Nov 2016, 15:08 (10 years ago)
parente2e58a90d92b08
qml/Notifications/ShapedIcon.qml+1
@@ -35,6 +35,7 @@ Item {
3535
3636 objectName: "nonShapedIcon"
3737 anchors.fill: parent
38+ sourceSize: Qt.size(parent.width, parent.height)
3839 visible: !shaped
3940 source: fileSource
4041 fillMode: Image.PreserveAspectFit