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/qplacereply/tst_qplacereply.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/auto/qplacereply/tst_qplacereply.cpp') diff --git a/tests/auto/qplacereply/tst_qplacereply.cpp b/tests/auto/qplacereply/tst_qplacereply.cpp index 491a6f1f..3a979886 100644 --- a/tests/auto/qplacereply/tst_qplacereply.cpp +++ b/tests/auto/qplacereply/tst_qplacereply.cpp @@ -106,9 +106,9 @@ void tst_QPlaceReply::errorTest() QCOMPARE(reply->error(), QPlaceReply::NoError); QCOMPARE(reply->errorString(), QString()); - reply->setError(QPlaceReply::CommunicationError, QLatin1String("Could not connect to server")); + reply->setError(QPlaceReply::CommunicationError, QStringLiteral("Could not connect to server")); QCOMPARE(reply->error(), QPlaceReply::CommunicationError); - QCOMPARE(reply->errorString(), QLatin1String("Could not connect to server")); + QCOMPARE(reply->errorString(), QStringLiteral("Could not connect to server")); reply->setError(QPlaceReply::NoError, QString()); QCOMPARE(reply->error(), QPlaceReply::NoError); -- cgit v1.2.1