summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAndreas Eliasson <andreas.eliasson@qt.io>2023-07-03 19:54:43 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-07-04 10:17:39 +0000
commit03cf34fc48388d9e49d167d30461a8e766c9191f (patch)
tree44b2e783537d3c973ef1caddf6f07ffa8e56193a /examples
parentac62045fe750ed86b01ffe1d9adf011a556ecd5d (diff)
Doc: Fix more broken code snippets
There's no mapviewer.qml file. Snippets are in Main.qml Change-Id: I6816cf7af5165f557a383244153b625557ab675a Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 388814835525e93312462afcdf9c11c58fd35205) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples')
-rw-r--r--examples/location/mapviewer/doc/src/mapviewer.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/location/mapviewer/doc/src/mapviewer.qdoc b/examples/location/mapviewer/doc/src/mapviewer.qdoc
index 03e5c04f..00b26185 100644
--- a/examples/location/mapviewer/doc/src/mapviewer.qdoc
+++ b/examples/location/mapviewer/doc/src/mapviewer.qdoc
@@ -87,7 +87,7 @@
To send a geocode request, first we create an \l [QML]{Address} object, and fill it
in with the desired parameters.
- \snippet mapviewer/mapviewer.qml geocode0
+ \snippet mapviewer/Main.qml geocode0
Then we set \c{geocodeModel.query} to the filled in \l [QML]{Address},
and call update() on the GeocodeModel.
@@ -119,7 +119,7 @@
In the simplest case, we can fill out a Route request using two already
available \l [QML]{coordinate}{coordinates}:
- \snippet mapviewer/mapviewer.qml routecoordinate
+ \snippet mapviewer/Main.qml routecoordinate
In the next snippet, we show how to set up the request object and instruct
the model to update. We also instruct the map to center on the start