Commit 1c0c824c authored by Chandradeep Dey's avatar Chandradeep Dey Committed by Méven Car
Browse files

Use a bigger image for lock screen avatar

Lock screen avatar is blurry when using HiDPI scaling. This fixes that
by adding a multiplication factor to the size of the retrieved image.

CCBUG: 418546
parent 9494b433
......@@ -82,7 +82,7 @@ Item {
Image {
id: face
source: wrapper.avatarPath
sourceSize: Qt.size(faceSize, faceSize)
sourceSize: Qt.size(faceSize * Screen.devicePixelRatio, faceSize * Screen.devicePixelRatio)
fillMode: Image.PreserveAspectCrop
anchors.fill: parent
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment