Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Discover
Commits
db98aec3
Commit
db98aec3
authored
Mar 05, 2021
by
Aleix Pol Gonzalez
🐧
Browse files
Port away from deprecated units API
Use Kirigami.Units instead of a global object.
parent
8993a031
Changes
2
Hide whitespace changes
Inline
Side-by-side
discover/qml/AddSourceDialog.qml
View file @
db98aec3
...
...
@@ -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
:
-
u
nits
.
smallSpacing
Layout.margins
:
-
Kirigami
.
U
nits
.
smallSpacing
Button
{
id
:
okButton
...
...
discover/qml/ApplicationsListPage.qml
View file @
db98aec3
...
...
@@ -146,7 +146,7 @@ DiscoverPage {
height
:
visible
?
Layout
.
preferredHeight
:
0
Item
{
Layout.preferredHeight
:
u
nits
.
gridUnit
Layout.preferredHeight
:
Kirigami
.
U
nits
.
gridUnit
}
Kirigami.Heading
{
level
:
2
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment