mirror of
https://github.com/KDE/kasts.git
synced 2025-01-27 07:46:10 +01:00
Port away from deprecated Kirigami.Units.fontMetrics
This commit is contained in:
parent
3f0dadd901
commit
4c2aa9e3ab
@ -84,7 +84,7 @@ Kirigami.ScrollablePage {
|
||||
Layout.fillHeight: true
|
||||
onLinkActivated: Qt.openUrlExternally(link)
|
||||
onWidthChanged: { text = entry.adjustedContent(width, font.pixelSize) }
|
||||
font.pointSize: SettingsManager && !(SettingsManager.articleFontUseSystem) ? SettingsManager.articleFontSize : Kirigami.Units.fontMetrics.font.pointSize
|
||||
font.pointSize: SettingsManager && !(SettingsManager.articleFontUseSystem) ? SettingsManager.articleFontSize : Kirigami.Theme.defaultFont.pointSize
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user