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
@ -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…
x
Reference in New Issue
Block a user