summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@kdab.com>2020-09-15 22:06:54 +0900
committerTasuku Suzuki <tasuku.suzuki@kdab.com>2020-09-17 00:02:09 +0900
commitc50cf545fce1e4b61255c85fd8c261df6fe4d663 (patch)
treed4a0d27601f57ea54bd7845d5b9742f4defdb010
parent6b2cf7e9d150b7be709fcd688c5045949cedc3d9 (diff)
downloadqtlocation-c50cf545fce1e4b61255c85fd8c261df6fe4d663.tar.gz
Fix qml code snippet
Change-Id: I1e0c1977859852a0d018124a39c635bc0c622ec8 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
-rw-r--r--src/location/doc/src/qml-maps.qdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/location/doc/src/qml-maps.qdoc b/src/location/doc/src/qml-maps.qdoc
index 87dd2412..5e9c1162 100644
--- a/src/location/doc/src/qml-maps.qdoc
+++ b/src/location/doc/src/qml-maps.qdoc
@@ -65,11 +65,11 @@ Here is an example of a client that uses a \l{PositionSource}{position source}
to center a \l{Map}{map} on the current position:
\code
- Rectangle {
+ import QtPositioning 5.2
+ import QtLocation 5.3
+ ...
- import QtPositioning 5.2
- import QtLocation 5.3
- ...
+ Rectangle {
Map {
id: map