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>
This commit is contained in:
Lubomir I. Ivanov 2018-03-08 22:23:58 +02:00 committed by Dirk Hohndel
parent 68da4de643
commit fe9c3d4c95

View file

@ -131,6 +131,15 @@ Kirigami.ApplicationWindow {
globalDrawer.close()
}
},
Kirigami.Action {
icon {
name: "icons/map-globe.svg"
}
text: mapPage.title
onTriggered: {
showMap()
}
},
Kirigami.Action {
icon {
name: "icons/ic_sync.svg"