Commit db98aec3 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Port away from deprecated units API

Use Kirigami.Units instead of a global object.
parent 8993a031
......@@ -50,7 +50,7 @@ Kirigami.OverlaySheet
// Cancel out built-in margins so it lines up with the rest of the
// content in this sheet
Layout.margins: -units.smallSpacing
Layout.margins: -Kirigami.Units.smallSpacing
Button {
id: okButton
......
......@@ -146,7 +146,7 @@ DiscoverPage {
height: visible ? Layout.preferredHeight : 0
Item {
Layout.preferredHeight: units.gridUnit
Layout.preferredHeight: Kirigami.Units.gridUnit
}
Kirigami.Heading {
level: 2
......
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