From fe9c3d4c956d679e48dbcaebc90af12446da80cb Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Thu, 8 Mar 2018 22:23:58 +0200 Subject: 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 --- mobile-widgets/qml/main.qml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mobile-widgets/qml/main.qml') 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 @@ -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" -- cgit v1.2.3-70-g09d2