diff options
author | Matthias Rauter <matthias.rauter@qt.io> | 2023-01-24 10:43:32 +0100 |
---|---|---|
committer | Matthias Rauter <matthias.rauter@qt.io> | 2023-01-31 12:52:05 +0100 |
commit | 5ef3e454c7903e4b8e0db41aea87cfaf21c641e8 (patch) | |
tree | 34b442f403fbd7441d5e03c0c4064d29cf96d149 | |
parent | eaab46307c04004649eaa481ff9ba35972d9b967 (diff) | |
download | qtlocation-5ef3e454c7903e4b8e0db41aea87cfaf21c641e8.tar.gz |
Fix small inconsistencies in the example places_list
Chang the search radius in example places_list to match the comment.
Replace search term pizza with food to get a reasonable amount of results within 5km radius.
Pick-to: 6.5
Change-Id: Ibf8a97afb85c80e8cd9b646f2c82d41a836359d2
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
-rw-r--r-- | examples/location/places_list/doc/src/places_list.qdoc | 2 | ||||
-rw-r--r-- | examples/location/places_list/places_list.qml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/location/places_list/doc/src/places_list.qdoc b/examples/location/places_list/doc/src/places_list.qdoc index b66d8e44..2d3b893f 100644 --- a/examples/location/places_list/doc/src/places_list.qdoc +++ b/examples/location/places_list/doc/src/places_list.qdoc @@ -37,7 +37,7 @@ The \c {Places List} example demonstrates how to search for a list of places in a certain area and displays the result using a \l ListView. In this particular case, a search - for places associated with the term \c pizza is performed. + for places associated with the term \c food is performed. \section1 Performing a Place Search diff --git a/examples/location/places_list/places_list.qml b/examples/location/places_list/places_list.qml index ac3c2858..1a0f9ebc 100644 --- a/examples/location/places_list/places_list.qml +++ b/examples/location/places_list/places_list.qml @@ -76,8 +76,8 @@ Rectangle { plugin: myPlugin - searchTerm: "pizza" - searchArea: QtPositioning.circle(startCoordinate, 500000 /* 5 km radius */); + searchTerm: "food" + searchArea: QtPositioning.circle(startCoordinate, 5000 /* 5 km radius */); Component.onCompleted: update() |