summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Rauter <matthias.rauter@qt.io>2023-01-24 10:43:32 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-01-31 12:57:23 +0000
commita09c71b49ca3d18a9a206ade603196bd3cf6a462 (patch)
tree045ccb2e3367df846abd95c343014668f3a94e86
parent15ec82c25072dca16d73807409afdaa278148c07 (diff)
downloadqtlocation-a09c71b49ca3d18a9a206ade603196bd3cf6a462.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. Change-Id: Ibf8a97afb85c80e8cd9b646f2c82d41a836359d2 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 5ef3e454c7903e4b8e0db41aea87cfaf21c641e8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--examples/location/places_list/doc/src/places_list.qdoc2
-rw-r--r--examples/location/places_list/places_list.qml4
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()