summaryrefslogtreecommitdiff
path: root/examples/location/mapviewer/forms/RouteCoordinate.qml
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-03-07 14:12:42 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2023-03-07 17:52:18 +0000
commit20b0c2fb20f3c37c2549b7aa59f686a7726a2817 (patch)
tree505f08a6079f83f553b2225bb8c52db35ad3ccdb /examples/location/mapviewer/forms/RouteCoordinate.qml
parent2a05e3206af01b7edc05e154a71dfd7e6c44c6f0 (diff)
downloadqtlocation-20b0c2fb20f3c37c2549b7aa59f686a7726a2817.tar.gz
map viewer/places examples: Brush up the code
- Use modern string literals - Use the variadic template version of QMetaObject::invokeMethod() - Use modern connect syntax - Reorder includes - Trim newlines in QML Fix minor bugs: - Skip empty elements of library path (namely when variable is not set) - Fix the check for osm.useragent to operate on the map - Exit cleanly on QML loading errors Since places uses similar code, apply the changes there as well. Pick-to: 6.5 6.5.0 Change-Id: Ibaeffc6e003c55c458137458c5017584e0c072f1 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples/location/mapviewer/forms/RouteCoordinate.qml')
-rw-r--r--examples/location/mapviewer/forms/RouteCoordinate.qml1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/location/mapviewer/forms/RouteCoordinate.qml b/examples/location/mapviewer/forms/RouteCoordinate.qml
index ca289e93..f2eb771f 100644
--- a/examples/location/mapviewer/forms/RouteCoordinate.qml
+++ b/examples/location/mapviewer/forms/RouteCoordinate.qml
@@ -39,4 +39,3 @@ RouteCoordinateForm {
toLongitude.text = "" + toCoordinate.longitude
}
}
-