summaryrefslogtreecommitdiff
path: root/tests/auto/qplaceimage
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/qplaceimage
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/qplaceimage')
-rw-r--r--tests/auto/qplaceimage/tst_qplaceimage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qplaceimage/tst_qplaceimage.cpp b/tests/auto/qplaceimage/tst_qplaceimage.cpp
index 2992342c..57a26c90 100644
--- a/tests/auto/qplaceimage/tst_qplaceimage.cpp
+++ b/tests/auto/qplaceimage/tst_qplaceimage.cpp
@@ -152,8 +152,8 @@ void tst_QPlaceImage::attributionTest()
{
QPlaceImage image;
QVERIFY(image.attribution().isEmpty());
- image.setAttribution(QLatin1String("Brought to you by acme"));
- QCOMPARE(image.attribution(), QLatin1String("Brought to you by acme"));
+ image.setAttribution(QStringLiteral("Brought to you by acme"));
+ QCOMPARE(image.attribution(), QStringLiteral("Brought to you by acme"));
image.setAttribution(QString());
QVERIFY(image.attribution().isEmpty());
}