Remove deprecated usages of devicePixelRatio

This commit is contained in:
Bart De Vries 2021-09-18 21:35:52 +02:00
parent 91e43c4013
commit 6121f6622f
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ Controls.ItemDelegate {
required property int cardSize
required property int cardMargin
property int borderWidth: Kirigami.Units.devicePixelRatio
property int borderWidth: 1
implicitWidth: cardSize + 2 * cardMargin
implicitHeight: cardSize + 2 * cardMargin

View File

@ -46,7 +46,7 @@ Rectangle {
id: bgFillRect
anchors.fill: parent
anchors.margins: Kirigami.Units.devicePixelRatio
anchors.margins: 1
color: Kirigami.Theme.backgroundColor