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:
parent
68da4de643
commit
fe9c3d4c95
@ -131,6 +131,15 @@ Kirigami.ApplicationWindow {
|
|||||||
globalDrawer.close()
|
globalDrawer.close()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Kirigami.Action {
|
||||||
|
icon {
|
||||||
|
name: "icons/map-globe.svg"
|
||||||
|
}
|
||||||
|
text: mapPage.title
|
||||||
|
onTriggered: {
|
||||||
|
showMap()
|
||||||
|
}
|
||||||
|
},
|
||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
icon {
|
icon {
|
||||||
name: "icons/ic_sync.svg"
|
name: "icons/ic_sync.svg"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user