summaryrefslogtreecommitdiff
path: root/tests/auto/nokia_services/routing/tst_routing.cpp
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@jollamobile.com>2014-01-06 16:39:10 +1000
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-08 09:01:28 +0100
commit4d3134b673faf5eb3c84e37bff25c8d678172ee3 (patch)
tree06b053e2a5c9803ca53c46f57878da679a7b2efa /tests/auto/nokia_services/routing/tst_routing.cpp
parenta12f2caf8fd801fc84953072bae7d185ba0ed109 (diff)
downloadqtlocation-4d3134b673faf5eb3c84e37bff25c8d678172ee3.tar.gz
Use QVariantMap instead of QMap<QString, QVariant>.
It is shorter, easier to read, easier to type and it doesn't affect the ABI. Change-Id: Ic4d8a371d00b434ac84382dd75d8d82a963089cb Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'tests/auto/nokia_services/routing/tst_routing.cpp')
-rw-r--r--tests/auto/nokia_services/routing/tst_routing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/nokia_services/routing/tst_routing.cpp b/tests/auto/nokia_services/routing/tst_routing.cpp
index f3e24a93..95d034da 100644
--- a/tests/auto/nokia_services/routing/tst_routing.cpp
+++ b/tests/auto/nokia_services/routing/tst_routing.cpp
@@ -335,7 +335,7 @@ void tst_nokia_routing::initTestCase()
m_networkManager = new MockGeoNetworkAccessManager();
- QMap<QString, QVariant> parameters;
+ QVariantMap parameters;
parameters.insert(QStringLiteral("nam"), QVariant::fromValue<void*>(m_networkManager));
parameters.insert(QStringLiteral("app_id"), "stub");
parameters.insert(QStringLiteral("token"), "stub");