diff options
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 3 | ||||
-rw-r--r-- | mobile-widgets/qml/main.qml | 8 | ||||
-rw-r--r-- | mobile-widgets/qml/mobile-resources.qrc | 4 |
3 files changed, 11 insertions, 4 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 436bf3d8d..9ffb2ee88 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -236,6 +236,9 @@ Kirigami.ScrollablePage { StartPage { id: startPage } + Component.onCompleted: { + page.actions.main = page.saveAction + } } ListView { diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 1927d6224..b4ab897e9 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -12,9 +12,11 @@ Kirigami.ApplicationWindow { id: rootItem title: qsTr("Subsurface-mobile") - header.minimumHeight: 0 - header.preferredHeight: Kirigami.Units.gridUnit * (Qt.platform.os == "ios" ? 2 : 1) - header.maximumHeight: Kirigami.Units.gridUnit * 2 + header: Kirigami.ApplicationHeader { + minimumHeight: 0 + preferredHeight: Kirigami.Units.gridUnit * (Qt.platform.os == "ios" ? 2 : 1) + maximumHeight: Kirigami.Units.gridUnit * 2 + } property bool fullscreen: true property alias oldStatus: manager.oldStatus property alias accessingCloud: manager.accessingCloud diff --git a/mobile-widgets/qml/mobile-resources.qrc b/mobile-widgets/qml/mobile-resources.qrc index 4fe82a66a..ab556789b 100644 --- a/mobile-widgets/qml/mobile-resources.qrc +++ b/mobile-widgets/qml/mobile-resources.qrc @@ -36,6 +36,8 @@ <file alias="org/kde/kirigami/Heading.qml">kirigami/Heading.qml</file> <file alias="org/kde/kirigami/OverlaySheet.qml">kirigami/OverlaySheet.qml</file> <file alias="org/kde/kirigami/ApplicationHeader.qml">kirigami/ApplicationHeader.qml</file> + <file alias="org/kde/kirigami/AbstractApplicationHeader.qml">kirigami/AbstractApplicationHeader.qml</file> + <file alias="org/kde/kirigami/AbstractApplicationWindow.qml">kirigami/AbstractApplicationWindow.qml</file> <file alias="org/kde/kirigami/private/PageRow.qml">kirigami/private/PageRow.qml</file> <file alias="org/kde/kirigami/Label.qml">kirigami/Label.qml</file> <file alias="org/kde/kirigami/AbstractListItem.qml">kirigami/AbstractListItem.qml</file> @@ -50,7 +52,7 @@ <file alias="org/kde/kirigami/private/DefaultListItemBackground.qml">kirigami/private/DefaultListItemBackground.qml</file> <file alias="org/kde/kirigami/private/EdgeShadow.qml">kirigami/private/EdgeShadow.qml</file> <file alias="org/kde/kirigami/private/MenuIcon.qml">kirigami/private/MenuIcon.qml</file> - <file alias="org/kde/kirigami/private/PageStack.js">kirigami/private/PageStack.js</file> + <file alias="org/kde/kirigami/private/DefaultListItemBackground.qml">kirigami/private/DefaultListItemBackground.qml</file> <file alias="org/kde/kirigami/private/PageActionPropertyGroup.qml">kirigami/private/PageActionPropertyGroup.qml</file> <file alias="org/kde/kirigami/private/PassiveNotification.qml">kirigami/private/PassiveNotification.qml</file> <file alias="org/kde/kirigami/private/RefreshableScrollView.qml">kirigami/private/RefreshableScrollView.qml</file> |