diff options
Diffstat (limited to 'mobile-widgets/qml/main.qml')
-rw-r--r-- | mobile-widgets/qml/main.qml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index f7cb266c3..d478e29d5 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -20,12 +20,9 @@ Kirigami.ApplicationWindow { // the C++ side. But as a matter of fact, it doesn't, unless you add this line: font: Qt.application.font - header: Kirigami.ApplicationHeader { - minimumHeight: 0 - preferredHeight: Math.round(Kirigami.Units.gridUnit * (Qt.platform.os == "ios" ? 2 : 1.5)) - maximumHeight: Kirigami.Units.gridUnit * 2 - background: Rectangle { color: subsurfaceTheme.primaryColor } - } + pageStack.globalToolBar.style: Kirigami.ApplicationHeaderStyle.Breadcrumb + pageStack.globalToolBar.showNavigationButtons: (Kirigami.ApplicationHeaderStyle.ShowBackButton | Kirigami.ApplicationHeaderStyle.ShowForwardButton) + property alias oldStatus: prefs.oldStatus property alias notificationText: manager.notificationText property alias locationServiceEnabled: manager.locationServiceEnabled |