add sourceSize to ThemedIcon and mpris album art to prevent oversized SVG/image decoding
This commit is contained in:
parent
345326c1e3
commit
bc2d54c07a
2 changed files with 3 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ Column {
|
|||
id: _artImgPrev
|
||||
anchors.fill: parent
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
sourceSize: Qt.size(width, height)
|
||||
asynchronous: true
|
||||
opacity: 0
|
||||
|
||||
|
|
@ -41,6 +42,7 @@ Column {
|
|||
id: _artImg
|
||||
anchors.fill: parent
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
sourceSize: Qt.size(width, height)
|
||||
asynchronous: true
|
||||
opacity: 0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue