mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Mobile: ApplicationHeader is now deprecated
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1e25c85dde
commit
e047e97190
1 changed files with 3 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue