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:
jan Iversen 2020-01-15 09:10:46 +01:00 committed by Dirk Hohndel
parent 3d871ef0de
commit 8339384eeb
2 changed files with 4 additions and 3 deletions

View file

@ -11,6 +11,10 @@ Kirigami.Page {
title: "Theme Information"
background: Rectangle { color: subsurfaceTheme.backgroundColor }
FontMetrics {
id: fontMetrics
}
GridLayout {
id: themetest
columns: 2

View file

@ -46,9 +46,6 @@ Kirigami.ApplicationWindow {
hidePassiveNotification();
}
}
FontMetrics {
id: fontMetrics
}
visible: false
BusyIndicator {