diff options
author | Alexandra Betouni <ABetouni@luxoft.com> | 2018-06-07 16:23:34 +0200 |
---|---|---|
committer | Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com> | 2018-06-07 14:40:57 +0000 |
commit | 1f1ad697634e429886cf39c98d9e16a9d07e07cd (patch) | |
tree | cd3002588daab5ea2b697671eeeb5e8b10913777 | |
parent | 7df9ee45974e0368ab89d003b9a6edfab99e71e7 (diff) |
[sysui] Changed RequestNotification address
* The previous one was not showing anything
meaningful on the map
Change-Id: Ib19a5c4b5a849144f60aedec0239c36807192c34
Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
-rw-r--r-- | Main.qml | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -299,16 +299,14 @@ Window { id: notificationInterface property bool actionAccepted: false summary: qsTr("Battery level is low") - body: qsTr("Start route to 'EV Connect Charging Station'?") + body: qsTr("Start route to nearest charging station?") timeout: 4000 showActionsAsIcons: true actions: [{"actionText": "ic-navigation-dark"}] category: "notification" onActionTriggered: { //jump to navigation app - var address = body.slice(body.indexOf("'") + 1,body.indexOf("?") - 1); - var pathToRoute = "x-map://getMeTo/" + address; - Qt.openUrlExternally(pathToRoute); + Qt.openUrlExternally("x-map://getMeTo/Polis Park Kaningos Athens"); actionAccepted = true; } onVisibleChanged: { |