From 1f1ad697634e429886cf39c98d9e16a9d07e07cd Mon Sep 17 00:00:00 2001 From: Alexandra Betouni Date: Thu, 7 Jun 2018 16:23:34 +0200 Subject: [sysui] Changed RequestNotification address MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * The previous one was not showing anything meaningful on the map Change-Id: Ib19a5c4b5a849144f60aedec0239c36807192c34 Reviewed-by: Lukáš Tinkl Reviewed-by: Bramastyo Harimukti Santoso --- Main.qml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Main.qml b/Main.qml index 90c913da..50b14da4 100644 --- a/Main.qml +++ b/Main.qml @@ -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: { -- cgit v1.2.3