diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-03-08 22:23:58 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-03-11 11:40:12 -0700 |
commit | fe9c3d4c956d679e48dbcaebc90af12446da80cb (patch) | |
tree | cac2a81d9537f6550bd6c8a1ece1caccfd7d3a1a /mobile-widgets | |
parent | 68da4de643d616a52990d7c109b33dca14ff61f3 (diff) | |
download | subsurface-fe9c3d4c956d679e48dbcaebc90af12446da80cb.tar.gz |
main.qml: add a drawer action for the map
This action uses the Breeze icon "map-globe.svg" and calls
showMap().
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/main.qml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 746c419f1..ae22e073e 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -133,6 +133,15 @@ Kirigami.ApplicationWindow { }, Kirigami.Action { icon { + name: "icons/map-globe.svg" + } + text: mapPage.title + onTriggered: { + showMap() + } + }, + Kirigami.Action { + icon { name: "icons/ic_sync.svg" } text: qsTr("Dive management") |