diff options
author | Liang Qi <liang.qi@qt.io> | 2016-09-17 22:54:56 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2016-09-17 22:54:56 +0200 |
commit | 5d0481603414a4584dbfe89aaba48a6135b9e2d8 (patch) | |
tree | a8868da5003265d55a3ff5f2cc380ca41756f582 /examples/location | |
parent | 9cf6d7e77fc7029c35af56d943e4267051845c0a (diff) | |
parent | 7cfd70fa2f8fd24053d31122ac0a27eb56915895 (diff) | |
download | qtlocation-5d0481603414a4584dbfe89aaba48a6135b9e2d8.tar.gz |
Merge remote-tracking branch 'origin/5.6' into 5.7
Change-Id: Ie8986d40efc5a241cb94ba743e343cbb35f66611
Diffstat (limited to 'examples/location')
-rw-r--r-- | examples/location/mapviewer/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/location/mapviewer/main.cpp b/examples/location/mapviewer/main.cpp index 8b8991fe..1b526435 100644 --- a/examples/location/mapviewer/main.cpp +++ b/examples/location/mapviewer/main.cpp @@ -91,6 +91,8 @@ int main(int argc, char *argv[]) if (parseArgs(args, parameters)) return 0; + if (!args.contains(QStringLiteral("osm.useragent"))) + parameters[QStringLiteral("osm.useragent")] = QStringLiteral("QtLocation Mapviewer example"); QQmlApplicationEngine engine; engine.addImportPath(QStringLiteral(":/imports")); |