mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
mobile-widgets/qml: move fontMetrics to ThemeTest
fontMetrics is no longer used in production code, but still in the theme test page. Isolate fontMetrics in ThemeTest page. Signed-off-by: jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3d871ef0de
commit
8339384eeb
2 changed files with 4 additions and 3 deletions
|
@ -11,6 +11,10 @@ Kirigami.Page {
|
|||
title: "Theme Information"
|
||||
background: Rectangle { color: subsurfaceTheme.backgroundColor }
|
||||
|
||||
FontMetrics {
|
||||
id: fontMetrics
|
||||
}
|
||||
|
||||
GridLayout {
|
||||
id: themetest
|
||||
columns: 2
|
||||
|
|
|
@ -46,9 +46,6 @@ Kirigami.ApplicationWindow {
|
|||
hidePassiveNotification();
|
||||
}
|
||||
}
|
||||
FontMetrics {
|
||||
id: fontMetrics
|
||||
}
|
||||
visible: false
|
||||
|
||||
BusyIndicator {
|
||||
|
|
Loading…
Reference in a new issue