From 5ef3e454c7903e4b8e0db41aea87cfaf21c641e8 Mon Sep 17 00:00:00 2001 From: Matthias Rauter Date: Tue, 24 Jan 2023 10:43:32 +0100 Subject: 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 --- examples/location/places_list/doc/src/places_list.qdoc | 2 +- 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() -- cgit v1.2.1