summaryrefslogtreecommitdiff
path: root/tests/auto/qgeoroutexmlparser
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-05-14 14:34:34 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-15 14:57:31 +0200
commitcb424d26eac75a14316726b4687758fd10c85563 (patch)
tree9d1b96301734b8c20652607823bb6dacb63afff8 /tests/auto/qgeoroutexmlparser
parent8922ae1ef4f0cb01c15632dfe19ed514e0d49dbe (diff)
downloadqtlocation-cb424d26eac75a14316726b4687758fd10c85563.tar.gz
Use QStringLiteral whereever possible
This replaces a lot of old QLatin1String cases Change-Id: I47aec711f5e00de68bde6c2c8ee09506f577cfd4 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'tests/auto/qgeoroutexmlparser')
-rw-r--r--tests/auto/qgeoroutexmlparser/tst_qgeoroutexmlparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgeoroutexmlparser/tst_qgeoroutexmlparser.cpp b/tests/auto/qgeoroutexmlparser/tst_qgeoroutexmlparser.cpp
index 1dde8b33..14411720 100644
--- a/tests/auto/qgeoroutexmlparser/tst_qgeoroutexmlparser.cpp
+++ b/tests/auto/qgeoroutexmlparser/tst_qgeoroutexmlparser.cpp
@@ -105,7 +105,7 @@ private slots:
// check the first maneuver is correct
QGeoManeuver first = segments.at(0).maneuver();
- QCOMPARE(first.instructionText(), QLatin1String("Head toward Logan Rd (95) on Padstow Rd (56). Go for 0.3 miles."));
+ QCOMPARE(first.instructionText(), QStringLiteral("Head toward Logan Rd (95) on Padstow Rd (56). Go for 0.3 miles."));
QCOMPARE(first.position(), QGeoCoordinate(-27.5752144, 153.0879669));
QCOMPARE(first.timeToNextInstruction(), 24);