From 69c10808af442140829975ee1cf893160e3be10d Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 2 Apr 2016 07:09:40 -0500 Subject: QML UI: don't go through manager object to show map We can open URLs in the browser directly from QML. Signed-off-by: Dirk Hohndel --- qt-mobile/qml/GpsList.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'qt-mobile/qml/GpsList.qml') diff --git a/qt-mobile/qml/GpsList.qml b/qt-mobile/qml/GpsList.qml index 54dc02121..6903acd80 100644 --- a/qt-mobile/qml/GpsList.qml +++ b/qt-mobile/qml/GpsList.qml @@ -36,7 +36,7 @@ Kirigami.ScrollablePage { property int horizontalPadding: Kirigami.Units.gridUnit / 2 - Kirigami.Units.smallSpacing + 1 Kirigami.BasicListItem { - supportsMouseEvents: true + supportsMouseEvents: true width: parent.width - Kirigami.Units.gridUnit height: childrenRect.height - Kirigami.Units.smallSpacing GridLayout { @@ -99,8 +99,7 @@ Kirigami.ScrollablePage { Kirigami.Action { iconName: "gps" onTriggered: { - print("show map") - manager.showMap(latitude + " " + longitude) + showMap(latitude + " " + longitude) } } -- cgit v1.2.3-70-g09d2