From cb424d26eac75a14316726b4687758fd10c85563 Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Wed, 14 May 2014 14:34:34 +0200 Subject: Use QStringLiteral whereever possible This replaces a lot of old QLatin1String cases Change-Id: I47aec711f5e00de68bde6c2c8ee09506f577cfd4 Reviewed-by: Kai Koehne --- tests/auto/qplaceimage/tst_qplaceimage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/auto/qplaceimage') 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()); } -- cgit v1.2.1