summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2017-09-05 18:46:09 +0200
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-09-05 18:47:14 +0200
commit021f2157cd18a6d37a9569bf3aba34f3af173ed5 (patch)
tree6fc11a62ecd3df6e4214ecc2860f904d0e31dbbc /examples
parent222ba4b733f67a51758708e27b7c76cdaaa3e228 (diff)
parent8f80da7ea0165adb492c71255d0eea5f08c0af8e (diff)
downloadqtlocation-021f2157cd18a6d37a9569bf3aba34f3af173ed5.tar.gz
Merge remote-tracking branch 'origin/5.9' into 5.10
Change-Id: Ibfd8b430011abb0a7174bbcc158b03f8e26492eb
Diffstat (limited to 'examples')
-rw-r--r--examples/location/places_map/doc/images/places_map.pngbin157761 -> 167995 bytes
-rw-r--r--examples/location/places_map/main.cpp2
-rw-r--r--examples/location/places_map/places_map.qml3
3 files changed, 3 insertions, 2 deletions
diff --git a/examples/location/places_map/doc/images/places_map.png b/examples/location/places_map/doc/images/places_map.png
index 72317e2d..4982df23 100644
--- a/examples/location/places_map/doc/images/places_map.png
+++ b/examples/location/places_map/doc/images/places_map.png
Binary files differ
diff --git a/examples/location/places_map/main.cpp b/examples/location/places_map/main.cpp
index a2cd8fc0..aeb7eaf3 100644
--- a/examples/location/places_map/main.cpp
+++ b/examples/location/places_map/main.cpp
@@ -46,6 +46,8 @@ int main(int argc, char **argv)
QGuiApplication app(argc,argv);
QQuickView view;
view.setSource(QUrl(QStringLiteral("qrc:///places_map.qml")));
+ view.setWidth(360);
+ view.setHeight(640);
view.show();
return app.exec();
}
diff --git a/examples/location/places_map/places_map.qml b/examples/location/places_map/places_map.qml
index 467a31de..cd487fa9 100644
--- a/examples/location/places_map/places_map.qml
+++ b/examples/location/places_map/places_map.qml
@@ -45,8 +45,7 @@ import QtLocation 5.6
//! [Imports]
Rectangle {
- width: 360
- height: 640
+ anchors.fill: parent
//! [Initialize Plugin]
Plugin {