fix(StatusImage) blurry rendering due to wrong sourceSize

Fixes #12991
This commit is contained in:
Lukáš Tinkl 2023-12-12 11:35:14 +01:00 committed by Lukáš Tinkl
parent 80975c80a2
commit abe23c7f92
1 changed files with 1 additions and 1 deletions

View File

@ -46,5 +46,5 @@ Image {
readonly property bool isError: status === Image.Error
fillMode: Image.PreserveAspectFit
sourceSize: source.toString().endsWith(".svg") ? Qt.size(width, 0) : Qt.size(width * Screen.devicePixelRatio, 0)
sourceSize: source.toString().endsWith(".svg") ? Qt.size(width, 0) : Qt.size(width * Screen.devicePixelRatio, height * Screen.devicePixelRatio)
}