mobile-widgets/qml: integrate DiveSummary in menu.

Add DiveSummary to globalDrawer

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-24 10:39:37 +01:00 committed by Dirk Hohndel
parent b6e86a1c70
commit 97e2890990

View file

@ -393,6 +393,14 @@ if you have network connectivity and want to sync your data to cloud storage."),
}
}
},
Kirigami.Action {
text: qsTr("Dive summary")
onTriggered: {
globalDrawer.close()
pageStack.push(diveSummaryWindow)
detailsWindow.endEditMode()
}
},
Kirigami.Action {
icon {
name: ":/icons/ic_info_outline.svg"
@ -815,6 +823,11 @@ if you have network connectivity and want to sync your data to cloud storage."),
visible: false
}
DiveSummary {
id: diveSummaryWindow
visible: false
}
ThemeTest {
id: themetest
visible: false