Commit df7598ec authored by Nate Graham's avatar Nate Graham
Browse files

Port away from deprecated Units.devicePixelRatio

It now always evaluates to 1.
parent ccc23dc5
Pipeline #98590 passed with stage
in 8 minutes and 9 seconds
......@@ -27,14 +27,14 @@ Item {
property string errorIcon: 'image://icon/error'
property string folderIcon: 'image://icon/document-open-folder'
property int hairline: Math.floor(Kirigami.Units.devicePixelRatio)
property int hairline: 1
property int coverImageSize: 180
property int contextCoverImageSize: 100
property int smallImageSize: 32
property int metaDataDialogHeight: 500 * Kirigami.Units.devicePixelRatio
property int metaDataDialogWidth: 600 * Kirigami.Units.devicePixelRatio
property int metaDataDialogHeight: 500
property int metaDataDialogWidth: 600
property int tooltipRadius: 3
property int shadowOffset: 2
......
......@@ -37,7 +37,7 @@ Rectangle {
id: bgFillRect
anchors.fill: parent
anchors.margins: Kirigami.Units.devicePixelRatio
anchors.margins: 1
color: Kirigami.Theme.backgroundColor
......
Markdown is supported
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