Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Elisa
Commits
df7598ec
Commit
df7598ec
authored
Nov 17, 2021
by
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/qml/BaseTheme.qml
View file @
df7598ec
...
...
@@ -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
...
...
src/qml/TrackImportNotification.qml
View file @
df7598ec
...
...
@@ -37,7 +37,7 @@ Rectangle {
id
:
bgFillRect
anchors.fill
:
parent
anchors.margins
:
Kirigami
.
Units
.
devicePixelRatio
anchors.margins
:
1
color
:
Kirigami
.
Theme
.
backgroundColor
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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